[webrtc-pc] Sending data channel messages > maxMessageSize

lgrahl has just created a new issue for https://github.com/w3c/webrtc-pc:

== Sending data channel messages > maxMessageSize ==
The `maxMessageSize` attribute of the `RTCSctpTransport` interface describes `maxMessageSize` as

> The maximum size of data that can be passed to RTCDataChannel 's send() method.

1. The `RTCDataChannel.send` method doesn't mention `maxMessageSize` in its description. This probably needs updating.
2. We need to know exactly what an implementation is supposed to do in case a message is larger than `maxMessageSize`. I'm suggesting to throw an exception.
3. The spec should make clear that `maxMessageSize` refers to the maximum message size the other peer is able to receive.

[Link to the corresponding SDP spec section](https://tools.ietf.org/html/draft-ietf-mmusic-sctp-sdp-19#section-6)

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1205 using your GitHub account

Received on Thursday, 11 May 2017 19:17:56 UTC