Re: [webrtc-pc] RTCIceTransport selected candidate pair behavior when changing state (#2276)

If the state OR pair changes, queue a task that runs the following:
- Let newState be the new state
- Let newPair be the new pair. [Note: It's null in such and such case and not null in such and such case.]
- transport.state = newState, transport.pair = newPair
- If the state changed, fire onstatechanged
- If the pair changed, fire onselectedcandidatepairchanged

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

Received on Thursday, 5 September 2019 14:19:34 UTC