Skip to content

Commit

Permalink
Disable audiosettings button on Firefox as it is not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
jallamsetty1 committed Jun 8, 2020
1 parent 45570bc commit d1d9689
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion react/features/toolbox/components/web/AudioSettingsButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ class AudioSettingsButton extends Component<Props, State> {
*/
render() {
const { isDisabled, onAudioOptionsClick, visible } = this.props;
const settingsDisabled = !this.state.hasPermissions || isDisabled;
const settingsDisabled = !this.state.hasPermissions
|| isDisabled
|| !JitsiMeetJS.mediaDevices.isMultipleAudioInputSupported();

return visible ? (
<AudioSettingsPopup>
Expand Down

0 comments on commit d1d9689

Please sign in to comment.