W3C home > Mailing lists > Public > public-webrtc@w3.org > March 2018

[webrtc-pc] Inconsistency over active member in receiver's "encoding" parameters.

From: jan-ivar via GitHub <sysbot+gh@w3.org>
Date: Fri, 16 Mar 2018 19:26:17 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-306049855-1521228376-sysbot+gh@w3.org>
jan-ivar has just created a new issue for https://github.com/w3c/webrtc-pc:

== Inconsistency over active member in receiver's "encoding" parameters. ==
While working on https://github.com/w3c/webrtc-pc/issues/1493, I found this inconsistency over whether
pc.getReceivers()[0].getParameters().encodings[0].active // is true/false or undefined
Receiver's [getParameters()](https://w3c.github.io/webrtc-pc/#dom-rtcrtpreceiver-getparameters) says:

*"Every member of the RTCRtpEncodingParameters dictionaries other than the RID fields is left undefined."*

whereas [active](https://w3c.github.io/webrtc-pc/#dom-rtcrtpencodingparameters-active) says:

*"For an RTCRtpReceiver, a value of true indicates that this encoding is being decoded. A value of false indicates this encoding is no longer being decoded."*

The latter seems on purpose.

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1806 using your GitHub account
Received on Friday, 16 March 2018 19:29:13 UTC

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