-
Notifications
You must be signed in to change notification settings - Fork 105
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
I have error Uncaught RTCError: Transport channel closed #2
Comments
hi, i fixed that issue inserting this code on the client-side when user joined socket io channel
|
Thank you @NikolasRoger. The code works for me amazing!! Thank you. |
Hi @NikolasRoger , @coding-with-chaim
I've used this code but I'm still getting same error. Can you help me with this ? Thank you, |
make sure the peer you are generating during runtime is persistent throughout. Once the page is loaded or state changed, weird errors may be encountered |
when the code running :
socket.on("receiving returned signal", payload => {
...
item.peer.signal(payload.signal); // i think this line make error
i found error like this :
Uncaught RTCError: Transport channel closed
Uncaught Error: Connection failed.
at makeError
at Peer._onConnectionStateChange
at RTCPeerConnection.Peer._pc.onconnectionstatechange
Please help me.
Thank you
The text was updated successfully, but these errors were encountered: