Can someone explain me how about WebRTC peer answer timeout?
Environment
Browser A
Browser B
Browser A send sdp and candidates to Browser B
Browser B try to get media stream and Fail - NO_DEVICES_FOUND
So, Browser A can't establish P2P connection.
Who must handle this error?
I see two varians:
- Browser B send to A signalling message - Error happen and A close local stream.
- Browser A set timeout, may 20-30 sec and wait remote stream, if stream not received in 20-30 seconds - close local stream
What kind of better? Or another solution?
Sample code can be found here: w3.org sample