Skip to content

WebRTC not connecting on different networks #1060

Closed Answered by drc418
drc418 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, I was busy elsewhere and now I started working with WebRTC once again after a while. First I reviewed my code and found out that I am adding local ice candidate in my PC in desktop side but not doing that in my web (index.js). So I tried it it and I think that was the issue. Now my stream is connecting over different networks (even on networks with firewalls).

The major changes I made are I updated my SIP sorcery library from 6.2.0 to 8.0.0 and added local ICE candidate in web side too.

Now in my index.js the pc.onicecandidate is something like this:

pc.onicecandidate = e => {

                console.log('onicecandidate in PC >>>> ', e.candidate);
                //console.log('pc : …

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@drc418
Comment options

Comment options

You must be logged in to vote
2 replies
@drc418
Comment options

@drc418
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by drc418
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants