Re: [webrtc-pc] Racy setParameters()/getParameters() behavior (#2315)

> This proposal will destroy the other use of [[LastReturnedParameters]] - checking that read-only parameters are unchanged.

That guarantee is still there. The only difference is [setParameters](https://w3c.github.io/webrtc-pc/#dom-rtcrtpsender-setparameters) will fail more often, not be more permissive.

> "Problem A" is exactly a case we want to prevent - ... and behavior if we set the parameters based on them is rather unpredictable.

Exactly, which is why this proposal makes it _"always fail with `InvalidStateError` (not  intermittently)."_

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2315#issuecomment-558215207 using your GitHub account

Received on Monday, 25 November 2019 15:48:23 UTC