-
Notifications
You must be signed in to change notification settings - Fork 353
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
step 9 is not working... #102
Comments
Take care of the few things first: |
@jmmsp-iscteiul - I was having the same issues. I think the doc needs updating. If you make the following changes it should help: From your main.js file, function: signalingMessageCallback Change: to
According to https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/sdpMid
I believe this is why your code is failing. If you see: You can see the candidate message is sent along with the sdpmid and sdpMLineIndex set as id and label. I hope that helps |
This solution helped me. It removed error of "Uncaught TypeError: Cannot read property 'type' of null in main.js: 176". It works in chrome but not in firefox.
|
I had the same situation and got to the same conclusion (before I saw this bug). VM349:1 InvalidStateError: Failed to set remote answer sdp: Called in wrong state: kStable DOMException: Failed to set remote answer sdp: Called in wrong state: kStable |
Or sometimes, message is VM13:1 InvalidStateError: Failed to set remote answer sdp: Called in wrong state: kHaveRemoteOffer DOMException: Failed to set remote answer sdp: Called in wrong state: kHaveRemoteOffer |
I am getting the same error when starting second client with same room id. See stack trace:
|
The code seems to be badly written, the step 06 is working like 2 out of 15 times, I need to hit CTRL + R many times, and wait a long time, and then if I am lucky the two peers will eventually be connected to one another. I think Google should take some time to fix this course, there are still issues, typos...etc that are from 2016, what a shame. Especially for such technology that will be omnipresent in the future... |
I got it working using Pull Request #89 and the mod in this issue from @fslurrehman. Git patchset is attached.
|
Hello everybody,
I was following all the tutorial and everything was ok, then, when i try to execute the step-06 it appears the website with my camera and only the button "snap" is working, the others are not working. Everything on my code is ok i think, because i have only runned step-06.
Resuming; is only working to take snaps, the button "send" and "snap and send" are not working..
Best Regards and congrats for the tutorial!
The text was updated successfully, but these errors were encountered: