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

Re: [webrtc-pc] "getParameters" and "setParameters" need more thorough specification

From: Bernard Aboba via GitHub <sysbot+gh@w3.org>
Date: Fri, 07 Apr 2017 23:40:26 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-292676443-1491608425-sysbot+gh@w3.org>
In the example you mentioned, where `setParameters` is used to change the `encodings[]` originally set by  `setEncodings`, you might want to call `sender.getParameters()`, then modify `parameters` and call `sender.setParameters`.  So even though setRemoteDescription hasn't been called, it might be helpful for `sender.getParameters` to return a non-null value, even if some attributes of the `RTCRtpParameters` dictionary are not set at that point.

GitHub Notification of comment by aboba
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1116#issuecomment-292676443 using your GitHub account
Received on Friday, 7 April 2017 23:40:33 UTC

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