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

Re: [webrtc-pc] RTCSctpTransport.maxMessageSize 0 case

From: Lennart Grahl via GitHub <sysbot+gh@w3.org>
Date: Thu, 06 Jul 2017 17:26:05 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-313463625-1499361962-sysbot+gh@w3.org>
So, the browser should not blindly announce the maximum message size of the remote peer when it is not capable of sending such a large message? I completely agree. In code, I'd say:

```python
mms = can_send_mms if remote_mms == 0 else min(remote_mms, can_send_mms)
```
Would you agree with that?

-- 
GitHub Notification of comment by lgrahl
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1446#issuecomment-313463625 using your GitHub account
Received on Thursday, 6 July 2017 17:26:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:21:40 UTC