SCTP and webrtc

核能气质少年 提交于 2019-12-18 16:09:32

问题


I saw that SCTP is going to be used for Data Channels starting in Chrome 31, and officially RTP based channels are going to be deprecated sometimes in February 2014 according to this google group thread:

https://groups.google.com/forum/#!topic/discuss-webrtc/y2A97iCByTU

Does this also mean that webrtc audio and video channels are also going to be transported over SCTP eventually(if not already in the works)?

How does RTP fit in the whole SCTP transport effort? Does that mean SRTP packets will flow over SCTP data channel? Or perhaps just the payload will be sent over SCTP transport protocol.

If I am reading info on SCTP, it combines best of TCP and UDP protocols; but it does not include encryption by default; so in mind the traffic flowing over should still be encrypted.

Any additional info would be helpful. Thanks!


回答1:


The audio and video will keep going over RTP (actually SRTP which is the secure version or RTP) but the data channel will uses SCTP over DTLS over UDP. Both Firefox and Chrome are implementing this and you can find it described in the IETF draft specifications. For some types of NAT / Firewall traversal, the UDP packets may get tunneled in TURN over TCP.

Glad to provide you pointers to the draft specifications if that helps.



来源:https://stackoverflow.com/questions/20076659/sctp-and-webrtc

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!