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

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