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

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

Relevant text: "Any parameter in parameters is marked as a Read-only parameter (such as RID) and has a value that is different from the corresponding parameter value in sender.[[LastReturnedParameters]]. Note that this also applies to transactionId."

"Problem A" is exactly a case we want to prevent - since the changes to state done by SRD will make the parameters we returned in the first getParameters call inconsistent, and behavior if we set the parameters based on them is rather unpredictable.


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

Received on Monday, 25 November 2019 13:39:32 UTC