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

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

From: Lennart Grahl via GitHub <sysbot+gh@w3.org>
Date: Tue, 31 Oct 2017 21:01:45 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-340905593-1509483704-sysbot+gh@w3.org>
Sh.., you're right, I did mix that up. What was I thinking...

```python
remote_mms = get_mms(remote_description, default=65535)
if can_send_mms == 0 or remote_mms == 0:
    mms = max(can_send_mms, remote_mms)
else:
    mms = min(can_send_mms, remote_mms)
```

Would you agree with that one @nils-ohlmeier?

-- 
GitHub Notification of comment by lgrahl
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1446#issuecomment-340905593 using your GitHub account
Received on Tuesday, 31 October 2017 21:01:50 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 9 October 2019 15:14:56 UTC