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

Re: [webrtc-pc] degradationPreference shouldn't have a default at the WebIDL level

From: Bernard Aboba via GitHub <sysbot+gh@w3.org>
Date: Mon, 08 May 2017 17:52:41 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-299940120-1494265960-sysbot+gh@w3.org>
@taylor-b  Is the issue that `degradationPreference` has no meaning for an `RTCRtpReceiver`? Or is there a more generic problem with returning a default value before an attribute has been set, possibly confusing the developer as to its eventual value?  Just trying to understand whether there is an issue with any other attribute in`RTCRtpParameters` that uses defaults: 

`RTCRtpEncodingParameters.scaleResolutionDownBy = 1`
`RTCRtpCodecParameters.channels = 1`

GitHub Notification of comment by aboba
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1173#issuecomment-299940120 using your GitHub account
Received on Monday, 8 May 2017 17:52:48 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:40 UTC