Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

Firefox is not using direct WebRTC connection when disabling TURN protocol but candidates are presented

  • 1 odpoveď
  • 1 má tento problém
  • 153 zobrazení
  • Posledná odpoveď od Florian Seifer

more options

Hello,

we have a BigBlueButton Server setup for our company. Until recently we used a TURN-Server to tunnel the UDP connections thrugh the firewall.

Due to performance issues we wanted to try and let the clients connect directly to the udp ports 16000 - 32000

In Chrome this works as expected.

In Firefox however when we set "media.peerconnection.turn.disable" to "true" FF does not find any WebRTC candidates. We checked the logs and it says there:

"relay only option is set without any TURN server configured" "relay/proxy only option results in ICE TCP being disabled"

But thats NOT true! The option "media.peerconnection.ice.relay_only" is definetly set to "false"

Tested on FF 115.5.0 ESR and 120.0.1

Does anyone have an idea whats happening here? Why doesnt FF even try to make a direct connection?

UPDATE: I just ran a test on our dev system. If we configure BBB so that it does not offer any TURN-servers, FF uses a direct connection. Sadly that is not possible, since we need the TURN server for external connections. When there are TURN-Candidates but TURN is disabled via FF config no connection is established at all. This definetly semms like a bug in FF, since the browser should still be able to simply try and connect directly.


Thank you for you support

Hello, we have a BigBlueButton Server setup for our company. Until recently we used a TURN-Server to tunnel the UDP connections thrugh the firewall. Due to performance issues we wanted to try and let the clients connect directly to the udp ports 16000 - 32000 In Chrome this works as expected. In Firefox however when we set "media.peerconnection.turn.disable" to "true" FF does not find any WebRTC candidates. We checked the logs and it says there: "relay only option is set without any TURN server configured" "relay/proxy only option results in ICE TCP being disabled" But thats NOT true! The option "media.peerconnection.ice.relay_only" is definetly set to "false" Tested on FF 115.5.0 ESR and 120.0.1 Does anyone have an idea whats happening here? Why doesnt FF even try to make a direct connection? UPDATE: I just ran a test on our dev system. If we configure BBB so that it does not offer any TURN-servers, FF uses a direct connection. Sadly that is not possible, since we need the TURN server for external connections. When there are TURN-Candidates but TURN is disabled via FF config no connection is established at all. This definetly semms like a bug in FF, since the browser should still be able to simply try and connect directly. Thank you for you support

Upravil(a) Florian Seifer dňa

Vybrané riešenie

I found the reason for the odd behaviour of Firefox!

Turns out the Bigbluebutton-Server was forcing FF to use TURN-Servers.

Ironically this feature should be deactivated by default. From https://docs.bigbluebutton.org/support/troubleshooting/

"Why isn't forceRelayOnFirefox enabled by default? It's not on by default because bigbluebutton does not come with a TURN server by default, and that's what versioned-in-code setting presumes."

But if you look at the corresponding settings-file you see this: /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml'

" # Firefox has a buggy ICE implementation. With mediasoup this leads to

   # connection problems unless all traffic is relayed through a turn server.
   forceRelayOnFirefox: true"

After I deactivated the option, FF is now using a direct connection and for our setup this seems to improve the connection drastically.

Regards

Florian Seifer

Čítať túto odpoveď v kontexte 👍 0

Všetky odpovede (1)

more options

Vybrané riešenie

I found the reason for the odd behaviour of Firefox!

Turns out the Bigbluebutton-Server was forcing FF to use TURN-Servers.

Ironically this feature should be deactivated by default. From https://docs.bigbluebutton.org/support/troubleshooting/

"Why isn't forceRelayOnFirefox enabled by default? It's not on by default because bigbluebutton does not come with a TURN server by default, and that's what versioned-in-code setting presumes."

But if you look at the corresponding settings-file you see this: /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml'

" # Firefox has a buggy ICE implementation. With mediasoup this leads to

   # connection problems unless all traffic is relayed through a turn server.
   forceRelayOnFirefox: true"

After I deactivated the option, FF is now using a direct connection and for our setup this seems to improve the connection drastically.

Regards

Florian Seifer

Pomohla vám táto odpoveď?

Položiť otázku

Ak chcete odpovedať na príspevky, musíte sa prihlásiť do svojho účtu. Ak ešte nemáte účet, položte novú otázku.