W3C home > Mailing lists > Public > public-webrtc@w3.org > January 2015

Execeptions for createDataChannel method

From: Michael Tuexen <Michael.Tuexen@lurchi.franken.de>
Date: Thu, 15 Jan 2015 11:31:23 +0100
Message-Id: <FCC3D438-2ABD-4271-9471-2A5AFB609F5F@lurchi.franken.de>
To: public-webrtc <public-webrtc@w3.org>
Dear all,

shouldn't the createDataChannel method thrown an error if the label parameter
is too long? In the case where negotiated is false, the limit is 65535 bytes
when the string is UTF-8 encoded. Shouldn't the same apply to the protocol

The reason for the limits is that the protocol used for doing the inband negotiation
specified in
has these limits.

I think the specification should specify that in these case an error is thrown and also
which one.

Best regards
Received on Thursday, 15 January 2015 10:31:49 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:18:03 UTC