You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In WebRTC 1.0 calling peerconnection.close() is required even if it fires a "failed" "oniceconnectionstatechange" event, otherwise it is not freed.
In ORTC, and with a recent change, a RTCDtlsTransport may fire a "closed" ondtlsstatechange event (without the user having called stop() on it).
Also, a RTCIceTransport may fire "failed" or "closed" onicestatechange...
So, when should the user assume that a RTCDtlsTransport and a RTCIceTransport has been definitely closed (and "freed")?
If for example the remote peer sends me a DTLS close alert and my RTCDtlsTransport fires "closed" ondtlsstatechange, should I call stop() on it or not?
In WebRTC 1.0 calling
peerconnection.close()is required even if it fires a "failed" "oniceconnectionstatechange" event, otherwise it is not freed.In ORTC, and with a recent change, a
RTCDtlsTransportmay fire a "closed"ondtlsstatechangeevent (without the user having calledstop()on it).Also, a
RTCIceTransportmay fire "failed" or "closed"onicestatechange...So, when should the user assume that a
RTCDtlsTransportand aRTCIceTransporthas been definitely closed (and "freed")?If for example the remote peer sends me a DTLS close alert and my
RTCDtlsTransportfires "closed"ondtlsstatechange, should I callstop()on it or not?