codysherman/2nfm

Receiver reports a successful connection while still trying to connect & on failure

Closed this issue · 0 comments

isStream is called, naturally when RTCMultiConnection's onstream is called, but this is greedy, as RTCMultiConnection sets up the audio and video tracks before a connection is actually established.

Instead, isStream could be set from onPeerStateChanged, which would allow us to provide better information to the user on the event of connection issues.