We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Om de ûnderfining foar jo te ferbetterjen is tydlik de funksjonaliteit dan dizze website troch ûnderhâldswurk beheind. Wannear in artikel jo probleem net oplost en jo in fraach stelle wolle, kin ús stipemienskip jo helpe yn @FirefoxSupport op Twitter en /r/firefox op Reddit.

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

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

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

Bewurke troch Florian Seifer op

Keazen oplossing

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

Dit antwurd yn kontekst lêze 👍 0

Alle antwurden (1)

more options

Keazen oplossing

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