diff --git a/react/features/device-selection/components/AudioOutputPreview.js b/react/features/device-selection/components/AudioOutputPreview.js index b744477c2..e5cbc954b 100644 --- a/react/features/device-selection/components/AudioOutputPreview.js +++ b/react/features/device-selection/components/AudioOutputPreview.js @@ -42,19 +42,8 @@ class AudioOutputPreview extends Component { this._audioElement = null; + this._audioElementReady = this._audioElementReady.bind(this); this._onClick = this._onClick.bind(this); - this._setAudioElement = this._setAudioElement.bind(this); - } - - /** - * Sets the target output device on the component's audio element after - * initial render. - * - * @inheritdoc - * @returns {void} - */ - componentDidMount() { - this._setAudioSink(); } /** @@ -81,12 +70,28 @@ class AudioOutputPreview extends Component { { this.props.t('deviceSelection.testAudio') }