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

Queueing the clearing of LastReturnedParameters will have the effect of only allowing setParameters within the same execution unit or execution units that were already queued prior to calling getParameters, right?

We invented transactionId because this was felt to be too restrictive, I think. We could change that.

transactionId still matters because the sequence

a = getParameters()
await something
b = getParameters()
setParameters(a)

needs to fail.

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

Received on Monday, 25 November 2019 13:48:38 UTC