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

> Can getParameters() can return a subset of the parameters, or does it only return a non-null result once setLocal (receiver) or setRemote (sender) is called? If sender.getParameters() returns null before setRemoteDescription, can sender.setParameters() be called before setRemoteDescription?

What's an example of how this would be used? One thing I can think of: if an application uses `sendEncodings`, it may want to change the encoding parameters after the fact, but before `setRemoteDescription` is called. I mentioned this on #1073, as it may be needed to recover from simulcast-related errors gracefully.

> That would imply that calling getParameters after setParameters would not necessarily return the parameters that were set.

I don't follow. If the parameters were set successfully, `getParameters` should return the same thing that was set, possibly without codecs that are no longer available. Right?

GitHub Notification of comment by taylor-b
Please view or discuss this issue at using your GitHub account

Received on Friday, 7 April 2017 21:55:16 UTC