meetecho / janus-gateway

Janus WebRTC Server
https://janus.conf.meetecho.com
GNU General Public License v3.0
8k stars 2.45k forks source link

mvideoroomtest.js leave room will occur an error in another client #1684

Closed hi-yox closed 4 years ago

hi-yox commented 5 years ago

Hello,I use unified-plan branch, I try the demo mvideoroomtest.js and find a problem, when someone leave this room, I receive on error from safari browser.

WebRTC error... {"stack":"Error: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote offer sdp: Failed to set remote audio description streams."}

lminiero commented 5 years ago

Can you provide the remote SDP that causes the issue in a pastebin/gist link?

hi-yox commented 5 years ago

Thank you for your reply, this is my sdp

https://gist.github.com/jfdream/1ca897b9e7332edeeff3b89aab58d312

lminiero commented 4 years ago

It may have something to do with the fact that both SSRCs are 0, because apart from that everything looks fine. I'll try and replicate in the next few days.

lminiero commented 4 years ago

Solved in https://github.com/meetecho/janus-gateway/pull/1459/commits/a0300e499b04e0ced81e164069eadb4ec4fbd7d2