Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

参考资料 #1

Open
wozitaoran opened this issue May 22, 2017 · 0 comments
Open

参考资料 #1

wozitaoran opened this issue May 22, 2017 · 0 comments

Comments

@wozitaoran
Copy link
Owner

wozitaoran commented May 22, 2017

原理

webrtc 协议 from mozilla开发者网站
https://developer.mozilla.org/zh-CN/docs/Web/API/WebRTC_API/Protocols
WebRTC下的网络连接: STUN, TURN, ICE, TCP
rainzhaojy/blogs#4

webrtc
Servers for WebRTC: It is not all Peer to Peer (Kranky Geek WebRTC Brazil 2016)
https://www.youtube.com/watch?v=Y1mx7cx6ckI

TURN_SERVER_OVERRIDE = [
  {
    "urls": [
      "turn:hostnameForYourTurnServer:19305?transport=udp",
      "turn:hostnameForYourTurnServer:19305?transport=tcp"
    ],
    "username": "TurnServerUsername",
    "credential": "TurnServerCredentials"
  },
  {
    "urls": [
      "stun:hostnameForYourStunServer:19302"
    ]
  }
]

搭建

开源stun和turn服务器
https://github.com/coturn/
webrtc学习: 部署stun和turn服务器
http://www.cnblogs.com/lingdhox/p/4209659.html
自建APPRtc
http://www.jianshu.com/p/c55ecf5a3fcf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant