[webrtc-pc] RTCIceTransport selected candidate pair behavior when changing state

steveanton has just created a new issue for https://github.com/w3c/webrtc-pc:

== RTCIceTransport selected candidate pair behavior when changing state ==
I have some questions about the behavior of getSelectedCandidatePair() and the selectedcandidatepairevent in the following cases:

1) When the RTCIceTransport is closed (due to either RTCPeerConnection close() or SLD/SRD removing it)? Proposal: getSelectedCandidatePair() returns null and the event does not fire.
2) When the RTCIceTransport transitions to 'disconnected'? Proposal: getSelectedCandidatePair() returns the current value the event does not fire.
3) When the RTCIceTransport transitions to 'failed'? Proposal: getSelectedCandidatePair() returns null and the event does not fire.

Also, when might the selectedcandidatepairevent fire with a newly-null selected candidate pair?

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1981 using your GitHub account

Received on Friday, 7 September 2018 01:58:33 UTC