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

Re: [webrtc-pc] Verbose description for RTCDataChannel default values

From: Adam Bergkvist via GitHub <sysbot+gh@w3.org>
Date: Thu, 08 Jun 2017 09:05:45 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-307044720-1496912744-sysbot+gh@w3.org>
Giving maxPacketLifeTime and maxRetransmits default values of null would change the behavior a bit since it implies that the dictionary members need to be nullable. For example:

`{ maxPacketLifeTime: null, maxRetrainsmits: 10 }`

would be allowed with nullable dictionary members. It currently renders a TypeError. I don't see a problem with making the dictionary members nullable, since the corresponding DataChannel attributes are nullable, but it's not an "editorial" change then.

GitHub Notification of comment by adam-be
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1353#issuecomment-307044720 using your GitHub account
Received on Thursday, 8 June 2017 09:05:53 UTC

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