W3C home > Mailing lists > Public > public-webrtc@w3.org > May 2016

Re: Improvements suggestion for DataChannels

From: Randell Jesup <randell-ietf@jesup.org>
Date: Mon, 23 May 2016 11:28:17 -0400
To: public-webrtc@w3.org
Message-ID: <d0bc59bb-4f4a-0421-448a-61e259a13061@jesup.org>
On 5/21/2016 7:51 AM, Cristian Lorenzetto wrote:
> I m working for validating the sdp offer based on authorizations but 
> for datachannels
> i can t see in sdp how many data channels are offered and what are 
> their id /labels(i tried either in chrome either in firefox). I think 
> it is a very important missing in sdp and a possible hole in security.

Per the specs this is not negotiated in SDP; if it was negotiated then 
opening channels would become very slow and very heavy-weight. Right now 
opening (and closing) channels is 0 RTT normally.

The initial number of channels at one point was negotiated in SDP, but 
since it was decided to set it to the max of 65534 IIRC (though I'll 
note no browser currently does so due to memory being wasted by the 
stack; Firefox still includes code to renegotiate (at the SCTP level) to 
larger number of DataChannels, but I think Chrome does not).

-- 
Randell Jesup -- rjesup a t mozilla d o t com
Please please please don't email randell-ietf@jesup.org!  Way too much spam
Received on Monday, 23 May 2016 15:28:57 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:48 UTC