Janus instance behind firewall with TURN configured

65 views
Skip to first unread message

Сергей Хоменко

unread,
Jan 10, 2022, 10:15:36 AM1/10/22
to meetecho-janus
Hello!

Please help me understand the following:
I've got my janus instance running behind firewall with no public IP.
I've also configured STUN and TURN in janus.jcfg as described here.

What I can't understand is what should I put when I'm creating new Janus gateway in a browser object as a server URL.
I'm using WebSocket as a transport.

Here is a code sample describing what I want to understand:

const janus = new Janus( { server: 'wss://whatShouldIPutHereAsADomainName:Port/janus-ws',
iceServers: [here goes STUN and TURN configuration same as in janus.jcfg], success: function() { // Done! }, error: function(cause) { // Error, can't go on... }, destroyed: function() { // I should get rid of this } });

Thank you!

Сергей Хоменко

unread,
Jan 10, 2022, 12:07:15 PM1/10/22
to meetecho-janus
Is this even possible anyway? 

пн, 10 янв. 2022 г., 18:15 Сергей Хоменко <homen...@gmail.com>:
--
You received this message because you are subscribed to a topic in the Google Groups "meetecho-janus" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/meetecho-janus/vzYVGZW1ON4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to meetecho-janu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/meetecho-janus/151b17c3-ea28-41d8-985f-8b7368a66e3bn%40googlegroups.com.

Lorenzo Miniero

unread,
Jan 11, 2022, 2:16:17 AM1/11/22
to meetecho-janus
Reply all
Reply to author
Forward
0 new messages