Merge pull request #17394 from schrd/fix-issue-16057
Fix: Workaround firefox' missing audio output selection
This commit is contained in:
commit
67e4a9ebf3
@ -129,13 +129,12 @@ class DeviceSelector extends Component {
|
||||
} = this.props;
|
||||
|
||||
const { options } = this.state;
|
||||
const { isSafari } = browserInfo;
|
||||
|
||||
let notFoundOption;
|
||||
|
||||
if (blocked) {
|
||||
notFoundOption = <option value="finding">{intl.formatMessage(intlMessages.findingDevicesLabel)}</option>;
|
||||
} else if (kind === 'audiooutput' && isSafari) {
|
||||
} else if (kind === 'audiooutput' && !('setSinkId' in HTMLMediaElement.prototype)) {
|
||||
const defaultOutputDeviceLabel = intl.formatMessage(intlMessages.defaultOutputDeviceLabel);
|
||||
notFoundOption = <option value="not-found">{defaultOutputDeviceLabel}</option>;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user