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
This PR:
1. Removes checks on transport.state and rtcpTransport.state (so that closed or failed transports can be replaced)
2. Removes checks on withTransport.state and withRtcpTransport.state (removing a potential race condition with the statechange EventHandler).
3. Leaves setTransport as a synchronous method.
Revised fix for Issue #591
Section 5.3 (sender.setTransport) and Section 6.3 (receiver.setTransport) both contain the following sentence:
"If stop() has been called, or transport.state or rtcpTransport.state is closed, throw an InvalidStateError exception."
Why is it not possible for setTransport to replace an RTP or RTCP transport in the "closed" state?
The text was updated successfully, but these errors were encountered: