question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

iceservers overwritten on message receive

See original GitHub issue

The _onSystemMessage handler gets invoked when a messages comes in like

<message xmlns="jabber:client" from=".." to=".." type="groupchat">
  <subject>My-Room</subject>
  <delay xmlns="urn:xmpp:delay" from=".." stamp="2021-04-30T08:29:43Z"/>
</message>

which triggers onReceiveStunAndTurnCredentials resulting in overwriting this.jvbIceConfig.iceServers and this.p2pIceConfig.iceServers with an empty array. So there are no turn candidates anymore.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
damenchocommented, Apr 30, 2021

Thanks for the report and contribution and sorry

1reaction
damenchocommented, Apr 30, 2021

Good catch, can you add one more thing to the PR, please. After this line https://github.com/jitsi/lib-jitsi-meet/blob/e354745db501e3bc943da3b7e52087fb78be0bcf/modules/xmpp/xmpp.js#L283 It misses: this._sysMessageHandler = null;

Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

ICE failed, see about:webrtc for more details - Google Groups
I am making peer to peer connection for voice calling. I have call offer to other user and he receive call and connection...
Read more >
ICE servers(google stuns) worked for 8 times behind NAT but ...
The strange part is that when I again switch to my WiFi(local network) then the streams start coming. Since I have not changed...
Read more >
WebRTC PeerConnection » Tutorial | Muaz Khan
Explains how to. use WebRTC peer connection API; write one-to-one video sharing application; use socket.io or websockets for signaling ...
Read more >
WebRTC Example - GitHub
start reading messages from the client. for {. var msg Message. err := websocket.JSON.Receive(ws, &msg). if err != nil {. break. } //...
Read more >
Configuring Liberty Real-Time Communications - IBM
Any SIP endpoint that you configure overrides the default endpoint. ... This path is required by message brokers when using shared subscriptions.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found