07 2018 档案

摘要:1、onicecandidate 必须写在 setLocalDescription 之前,因为一调用setLocalDescription,立马会产生icecandidate。 2、webrtc 是 peer to peer ,不是peers to peers。A与B 相连,A需要new RTCPe 阅读全文
posted @ 2018-07-15 23:08 吃个石头 阅读(2006) 评论(1) 推荐(0)
摘要:nat 类型分4种 1、全锥形 full cone A 与 主机B交互,nat转换 A的内部地址及端口为 ip1 port1,ip1和port1为对外地址,任何机器能访问。 2、ip 受限制(对B而言) A 与 主机B交互,nat转换 A的内部地址及端口为 ip1 port1,B要想访问A,需要A先 阅读全文
posted @ 2018-07-04 15:55 吃个石头 阅读(3445) 评论(0) 推荐(0)