jitsi / jitsi-videobridge

Jitsi Videobridge is a WebRTC compatible video router or SFU that lets build highly scalable video conferencing infrastructure (i.e., up to hundreds of conferences per server).
https://jitsi.org/jitsi-videobridge
Apache License 2.0
2.9k stars 989 forks source link

ICE failure - Prosody/Jitsi Videobridge #482

Open john4526 opened 7 years ago

john4526 commented 7 years ago

I have a server built with JVB installed. I can get it to work on my network but if I try and connect to a user outside the network I get the ICE failed notice. How do I properly setup a stun or turn server with JVB? Do you put various callouts in sip.communicator properties like org.ice4j.ice.harvest.STUN_MAPPING_HARVESTER_ADDRESSES in the sip.communicator propers? I have played around with various settings here to try and get this to work and I cannot.

Also, do I need to have ice4j installed separate from JVB? i see a reference in a library with a .jar file that I think means ice4j is installed but that could be my problem. Please help.

damencho commented 7 years ago

Is your bridge running behind NAT? If so, you need some port forwarding and setting public and private address in jvb config. https://github.com/jitsi/jitsi-meet/blob/master/doc/quick-install.md#advanced-configuration

john4526 commented 7 years ago

What ports do I need to forward? Is it just 5060/5061 or should I open up a range of UDP?

I saw this and I can add those lines for the public and private.

On 5/30/17 2:36 PM, Дамян Минков wrote:

Is your bridge running behind NAT? If so, you need some port forwarding and setting public and private address in jvb config. https://github.com/jitsi/jitsi-meet/blob/master/doc/quick-install.md#advanced-configuration

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jitsi/jitsi-videobridge/issues/482#issuecomment-304968866, or mute the thread https://github.com/notifications/unsubscribe-auth/AXVCTyt4Vm8DT4WWyajqttUj07WXLjDjks5r_GGlgaJpZM4NqqhV.

-- Jonathon Kline Engineer jon@kline.work 614-558.1302

damencho commented 7 years ago

UDP 10000 and if you are running nginx+jvb 443 and 4443, if you are running without web server, just jvb that serves meet then only 443.

john4526 commented 7 years ago

Is it possible to just run JVB and prosody without jitsi meet? I am not looking to do video conf via web but just with the jitsi desktop client.

On 5/30/17 2:59 PM, Дамян Минков wrote:

UDP 10000 and if you are running nginx+jvb 443 and 4443, if you are running without web server, just jvb that serves meet then only 443.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jitsi/jitsi-videobridge/issues/482#issuecomment-304975042, or mute the thread https://github.com/notifications/unsubscribe-auth/AXVCT_pXb-MIVOjokQZe-4IKvR0MBNjlks5r_Gb_gaJpZM4NqqhV.

-- Jonathon Kline Engineer jon@kline.work 614-558.1302

damencho commented 7 years ago

Well, if you have tested it locally with the desktop client and you say it is working, you need to forward udp 10000:20000 and set that public, private settings. I had the impression that compatibility with desktop client was broken some time ago.