-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update examples #1856
Update examples #1856
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1856 +/- ##
==========================================
- Coverage 75.65% 75.58% -0.08%
==========================================
Files 84 84
Lines 6046 6049 +3
==========================================
- Hits 4574 4572 -2
- Misses 1085 1088 +3
- Partials 387 389 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
🔥 this is fantastic @Antonito! Thank you for grabbing all these long standing issues |
@Antonito Sorry for the long wait time on the review! Can you print the error if Can you do OnPeerConnectionState and look for PeerConnectionStateFailed. That way users catch DTLS errors as well. The PeerConnection can come back from disconnected. If you want to add a comment around 'Use disconnected if you are interested in detecting faster timeout' I am in support! Call out what causes failure, and mention ICE restart. |
73fdc2f
to
45e56d1
Compare
TestNonFatalRead now has an timeout. Examples now use Mime types, instead of raw strings. Fixes #839
This PR updates
examples/
:peerConnection.Close
callThis should hopefully fix #839.
Also updates
TestNonFatalRead
with a timeout, as it failed after 11 minutes on my previous PR (there seems to be some kind of deadlock, which I didn't investigate further).