webrtc demo

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/linux_vae/article/details/84530214

webrtc demo 调用

原始文件路径: csdn :URL

connect to peer

### 创建offer邀请并设置自身的sdp 

在这里插入图片描述

set local description

### 
SetLocalDescription 
MaybeStartGathering --》CreateUDPPorts----》SignalCandidateReady---》OnIceCandidate

在这里插入图片描述

OnPortReady

	###	MaybeStartGathering --》SignalCandidateReady ---》OnPortReady---》CheckAndPing
--》set_write_state(设置端口可用)

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/linux_vae/article/details/84530214