Skip to content
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

How not to use stun:stun.l.google.com:19302 as ice server? #41

Open
itsazzad opened this issue Aug 10, 2017 · 2 comments
Open

How not to use stun:stun.l.google.com:19302 as ice server? #41

itsazzad opened this issue Aug 10, 2017 · 2 comments

Comments

@itsazzad
Copy link

Here https://github.com/otalk/jingle.js/blob/master/index.js#L45 stun:stun.l.google.com:19302 is the default.
And Here https://github.com/legastero/stanza.io/blob/master/lib/plugins/jingle.js#L9 using jingle without passing any conf; And so its by default getting the above specified ice server and I have only the option to add more ice server.
So how not to use stun:stun.l.google.com:19302 as ice server? Or to clear the default the ice servers?

@xdumaine
Copy link

You can just pass an empty array iceServers: []

@itsazzad
Copy link
Author

Are you meaning like below:

    client.use(jingle({
        iceServers: [],
    }));

Getting jingle SessionManager conf as undefined always in that way!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants