在學習WebRTC,找了些資料,記錄一下,供以后查詢。
有些需要翻牆才能看
WebRTC 介紹
官網在這里:https://webrtc.org/。然后這里有一個官方的Getting Started:https://webrtc.org/start/。
Google關於WebRTC的幻燈片:
然后是WebRTC的SPEC:
WebRTC項目源碼地址:https://chromium.googlesource.com/external/webrtc。
Native開發文檔:https://webrtc.org/native-code/development/。
教程
入門的,首選codelabs的Real time communication with WebRTC:
然后是html5rocks上的基礎教程:
開發文檔、入門教程,參考這里:
這里,http://piratefsh.github.io/projects/2015/08/27/webrtc-stun-turn-servers.html,是一個人部署stun和turn server的記錄。
進階一點的,看這個,比較完整的介紹和實踐:
還有這個,介紹如何用WebRTC一步一步實現視頻會議:
還找到一個中文版的教程,通過WebRTC實現實時視頻通信:
STUN/TURN/Signaling解決方案
WebRTC需要Signaling、STUN、TURN等Server,Google有自己的,還有很多開源的,也有收費的。
免費的:
- Signaling Server需要自己實現,如果你用Nodejs和Socket.io的話,比較容易做。https://codelabs.developers.google.com/codelabs/webrtc-web這里就有一個示例。
- Google的STUN服務器:
stun:stun.l.google.com:19302
- restund:http://www.creytiv.com/restund.html。
- rfc5766-turn-server: https://code.google.com/p/rfc5766-turn-server。挪到這里了:https://github.com/coturn/rfc5766-turn-server/,支持STUN和TURN
- http://www.pjsip.org/, PJSIP,支持STUN、TURN、ICE。
- https://nice.freedesktop.org/wiki/,libnice,支持ICE和STUN。
- http://www.stunprotocol.org/,STUNTMAN
- https://sourceforge.net/projects/stun/,STUN client and server
- https://github.com/coturn/coturn,C++實現的STUN和TURN服務器,這里有一個安裝指南:https://www.webrtc-experiment.com/docs/TURN-server-installation-guide.html
這里有一個WebRTC服務器搭建的文檔:http://io.diveinedu.com/2015/02/05/%E7%AC%AC%E5%85%AD%E7%AB%A0-WebRTC%E6%9C%8D%E5%8A%A1%E5%99%A8%E6%90%AD%E5%BB%BA.html。
收費的解決方案:
開源示例
還有一些開源的示例代碼,這個比較全了:
對應的demo在這里(Chrome打開可以看效果):
回退一級,還有更多資源:
還有一個,SimpleWebRTC:
還有:
嗯,接下來這個更贊,支持多人視頻會議,開源的:
世界上第一個基於HTML5的SIP客戶端:https://www.doubango.org/sipml5/。他們的GitHub主頁:https://github.com/DoubangoTelecom/doubango。
在線演示
搜集了一些在線演示的示例:
- https://apprtc.appspot.com
- http://www.simpl.info/getusermedia
- https://webrtc.github.io/samples
- http://webcamtoy.com/app/
- http://www.shinydemos.com/facekat/
- http://idevelop.ro/ascii-camera/
- https://meet.jit.si/,多人的視頻會議
圍繞WebRTC的框架和服務
框架,視頻通信的:
- https://github.com/webrtc/adapter,封裝了瀏覽器差異
- https://github.com/henrikjoreteg/SimpleWebRTC,前面說過這個鏈接了
- https://github.com/priologic/easyrtc
- https://github.com/webRTC/webRTC.io
Peer間傳遞數據的:
服務:
圖書
- 《Real-Time Communication with WebRTC》,https://bloggeek.me/book-webrtc-salvatore-simon/
- https://bloggeek.me/best-webrtc-book/,這里介紹了5本書。
課程
在學習WebRTC,找了些資料,記錄一下,供以后查詢。
有些需要翻牆才能看
WebRTC 介紹
官網在這里:https://webrtc.org/。然后這里有一個官方的Getting Started:https://webrtc.org/start/。
Google關於WebRTC的幻燈片:
然后是WebRTC的SPEC:
WebRTC項目源碼地址:https://chromium.googlesource.com/external/webrtc。
Native開發文檔:https://webrtc.org/native-code/development/。
教程
入門的,首選codelabs的Real time communication with WebRTC:
然后是html5rocks上的基礎教程:
開發文檔、入門教程,參考這里:
這里,http://piratefsh.github.io/projects/2015/08/27/webrtc-stun-turn-servers.html,是一個人部署stun和turn server的記錄。
進階一點的,看這個,比較完整的介紹和實踐:
還有這個,介紹如何用WebRTC一步一步實現視頻會議:
還找到一個中文版的教程,通過WebRTC實現實時視頻通信:
STUN/TURN/Signaling解決方案
WebRTC需要Signaling、STUN、TURN等Server,Google有自己的,還有很多開源的,也有收費的。
免費的:
- Signaling Server需要自己實現,如果你用Nodejs和Socket.io的話,比較容易做。https://codelabs.developers.google.com/codelabs/webrtc-web這里就有一個示例。
- Google的STUN服務器:
stun:stun.l.google.com:19302
- restund:http://www.creytiv.com/restund.html。
- rfc5766-turn-server: https://code.google.com/p/rfc5766-turn-server。挪到這里了:https://github.com/coturn/rfc5766-turn-server/,支持STUN和TURN
- http://www.pjsip.org/, PJSIP,支持STUN、TURN、ICE。
- https://nice.freedesktop.org/wiki/,libnice,支持ICE和STUN。
- http://www.stunprotocol.org/,STUNTMAN
- https://sourceforge.net/projects/stun/,STUN client and server
- https://github.com/coturn/coturn,C++實現的STUN和TURN服務器,這里有一個安裝指南:https://www.webrtc-experiment.com/docs/TURN-server-installation-guide.html
這里有一個WebRTC服務器搭建的文檔:http://io.diveinedu.com/2015/02/05/%E7%AC%AC%E5%85%AD%E7%AB%A0-WebRTC%E6%9C%8D%E5%8A%A1%E5%99%A8%E6%90%AD%E5%BB%BA.html。
收費的解決方案:
開源示例
還有一些開源的示例代碼,這個比較全了:
對應的demo在這里(Chrome打開可以看效果):
回退一級,還有更多資源:
還有一個,SimpleWebRTC:
還有:
嗯,接下來這個更贊,支持多人視頻會議,開源的:
世界上第一個基於HTML5的SIP客戶端:https://www.doubango.org/sipml5/。他們的GitHub主頁:https://github.com/DoubangoTelecom/doubango。
在線演示
搜集了一些在線演示的示例:
- https://apprtc.appspot.com
- http://www.simpl.info/getusermedia
- https://webrtc.github.io/samples
- http://webcamtoy.com/app/
- http://www.shinydemos.com/facekat/
- http://idevelop.ro/ascii-camera/
- https://meet.jit.si/,多人的視頻會議
圍繞WebRTC的框架和服務
框架,視頻通信的:
- https://github.com/webrtc/adapter,封裝了瀏覽器差異
- https://github.com/henrikjoreteg/SimpleWebRTC,前面說過這個鏈接了
- https://github.com/priologic/easyrtc
- https://github.com/webRTC/webRTC.io
Peer間傳遞數據的:
服務:
圖書
- 《Real-Time Communication with WebRTC》,https://bloggeek.me/book-webrtc-salvatore-simon/
- https://bloggeek.me/best-webrtc-book/,這里介紹了5本書。
課程