本文介绍了SCTP和webrtc的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到从Chrome 31开始,SCTP将用于数据通道,根据此Google组线程,基于RTP的官方通道有时会在2014年2月被弃用:

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

这是否还意味着webrtc音频和视频频道也将最终通过SCTP传输(如果尚不在工作中)?

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)?

RTP如何适合整个SCTP的运输工作?这是否意味着SRTP数据包将在SCTP数据通道上流动?或者也许只是有效载荷将通过SCTP传输协议发送.

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.

如果我正在阅读有关SCTP的信息,它结合了TCP和UDP协议的最佳功能;但默认情况下不包括加密;因此请记住,仍应对流过的流量进行加密.

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!

推荐答案

音频和视频将继续通过RTP(实际上是SRTP,它是安全版本或RTP),但是数据通道将通过UDP上的DTLS使用SCTP. Firefox和Chrome都在实现此功能,您可以在IETF规范草案中找到它.对于某些类型的NAT/防火墙穿越,UDP数据包可能会通过TCP的TURN隧道传输.

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.

这篇关于SCTP和webrtc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-17 08:29