mirror of
https://github.com/vector-im/element-web.git
synced 2025-09-03 12:51:04 +02:00
Fix media device selectors not updating
Missed a setState Fixes https://github.com/vector-im/riot-web/issues/9036
This commit is contained in:
parent
ff4963e662
commit
cd4e22b3fd
@ -76,14 +76,23 @@ export default class VoiceUserSettingsTab extends React.Component {
|
|||||||
|
|
||||||
_setAudioOutput = (e) => {
|
_setAudioOutput = (e) => {
|
||||||
CallMediaHandler.setAudioOutput(e.target.value);
|
CallMediaHandler.setAudioOutput(e.target.value);
|
||||||
|
this.setState({
|
||||||
|
activeAudioOutput: e.target.value,
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
_setAudioInput = (e) => {
|
_setAudioInput = (e) => {
|
||||||
CallMediaHandler.setAudioInput(e.target.value);
|
CallMediaHandler.setAudioInput(e.target.value);
|
||||||
|
this.setState({
|
||||||
|
activeAudioInput: e.target.value,
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
_setVideoInput = (e) => {
|
_setVideoInput = (e) => {
|
||||||
CallMediaHandler.setVideoInput(e.target.value);
|
CallMediaHandler.setVideoInput(e.target.value);
|
||||||
|
this.setState({
|
||||||
|
activeVideoInput: e.target.value,
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
_changeWebRtcMethod = (p2p) => {
|
_changeWebRtcMethod = (p2p) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user