Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
peer_connection: Fix state transition race
DTLS transport state was previously acquired and sent over to the async context returned. This would in some rare cases obviously lead to updating peer connection state with an old DTLS transport state. This would in turn lead to PeerConnection not updating it's state correctly. Sometimes we would see PeerConnection never reaching Connected.
- Loading branch information