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

[webrtc-pc] Sending data channel messages > maxMessageSize

From: Lennart Grahl via GitHub <sysbot+gh@w3.org>
Date: Thu, 11 May 2017 19:17:49 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-228093622-1494530268-sysbot+gh@w3.org>
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

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