From 68c583f53ef31ded5b23c08d9e54a238b88836bc Mon Sep 17 00:00:00 2001 From: Daniel Schreiber Date: Sun, 2 Apr 2023 11:28:40 +0200 Subject: [PATCH] Fix: Workaround firefox' missing audio output selection Firefox does not support selecting an audio output device in its default configuration. This works around this flaw by just displaying default output instead of no device found. Fixes #16057 --- .../imports/ui/components/audio/device-selector/component.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bigbluebutton-html5/imports/ui/components/audio/device-selector/component.jsx b/bigbluebutton-html5/imports/ui/components/audio/device-selector/component.jsx index 3e6ef01f37..fb938a553b 100644 --- a/bigbluebutton-html5/imports/ui/components/audio/device-selector/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/audio/device-selector/component.jsx @@ -129,13 +129,12 @@ class DeviceSelector extends Component { } = this.props; const { options } = this.state; - const { isSafari } = browserInfo; let notFoundOption; if (blocked) { notFoundOption = ; - } else if (kind === 'audiooutput' && isSafari) { + } else if (kind === 'audiooutput' && !('setSinkId' in HTMLMediaElement.prototype)) { const defaultOutputDeviceLabel = intl.formatMessage(intlMessages.defaultOutputDeviceLabel); notFoundOption = ; } else {