Re: [webrtc-pc] When to fire events triggered by setRemoteDescription.

https://github.com/w3c/webrtc-pc/issues/1691#issuecomment-352919912 sounds pretty safe to me. Though you could do something weird like remove a track that is about to be removed. While the list being iterated is a copy and is safe, our algorithm attempting to remove the track would abort. Similarly, an attempt to mute a track could fail if an event handler already muted it or something like that. It's pretty weird and probably doesn't matter, but any assumptions about the steps being successful would have to be removed if we defer the operations.

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

Received on Thursday, 28 December 2017 19:33:05 UTC