-
-
Notifications
You must be signed in to change notification settings - Fork 338
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
Test is not running completely negotiationneeded only trigger using addTrack #433
Comments
@andrewvmail Can you try #407 ? |
@andrewvmail see #436 |
@andrewvmail If you run this in the chrome browser console (https://example.com) you will see on Chrome that nor Test by yourself on Chrome and Firefox using scripts below.
|
Fun fact without webrtc-adatper Chrome will not trigger pc2.addTrack anyway. |
I will revert #436 partially cause we should not addTrack MediaStream by default. |
Related #437 |
6.0.2 contains partial fix: |
@andrewvmail can you test 6.0.2 and confirm, thank you. |
#437 will make it match browser implementation |
@hthetiot thanks for looking into this, didnt mean to get you on a wild goose chase. I dont actually use the negotiationeeded api in my app like that. It's only when I use the README.md code snippet just to test the plugin. I was assuming the snippet was meant to be a copy and paste and it just works. To make testing easier? What I do is
Right now above doesn't work without commenting out that addStream |
Oh actually confirming now README.md snippets copy pasted fine. But I think thats with the recent change that will be reverted. |
@andrewvmail You actually helped find a bug, where no stream with addTrack would have prevented the track to not being added. Thx |
Only the default MediaStream on addRrack will be reverted in favor of #436 |
Trying to run the test from the main README.md I had to modify one thing to get pc1 and pc2 to talk to each other.
The negotiationneeded event wont run with
But runs fine with this line uncommented.
The text was updated successfully, but these errors were encountered: