- From: Soares Chen via GitHub <sysbot+gh@w3.org>
- Date: Mon, 17 Jul 2017 08:04:23 +0000
- To: public-webrtc@w3.org
soareschen has just created a new issue for https://github.com/w3c/webrtc-pc: == Default values for RTCRtpEncodingParameters == The current definition seems to imply that all fields are optional and have the value `undefined` if not set. However it seems that at least some of the fields should have default values, e.g. `active` and `priority`. For example, the following examples have different `active` values: ```javascript // sender.encodings[0].active == true pc.addTransceiver('audio'); // sender.encodings[0].active == true pc.addTransceiver('audio', { sendEncodings: [] }); // sender.encodings[0].active == undefined pc.addTransceiver('audio', { sendEncodings: [{}] }); ``` Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1491 using your GitHub account
Received on Monday, 17 July 2017 08:04:29 UTC