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: Taylor Brandstetter via GitHub <sysbot+gh@w3.org>
Date: Mon, 08 May 2017 23:33:54 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-300019706-1494286433-sysbot+gh@w3.org>
The issue is mostly that it has no meaning for an `RTCRtpReceiver`. `scaleResolutionDownBy` is in a similar position.

And really, there's no value in having default values in WebIDL for _anything_ in `RtpParameters`, since you're always expected to do `getParameters` followed by `setParameters`. If a parameter has a default value, `getParameters` should have returned it, and it doesn't need a default at the WebIDL level for that to happen.

GitHub Notification of comment by taylor-b
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1173#issuecomment-300019706 using your GitHub account
Received on Monday, 8 May 2017 23:34:00 UTC

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