W3C home > Mailing lists > Public > public-webrtc-logs@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-logs@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:55 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:40 UTC