mirror of https://github.com/vector-im/riot-web
Merge pull request #2751 from matrix-org/dbkr/devices_toggle_update_2
Fix media device selectors not updatingpull/21833/head
commit
4c333f8c5f
|
@ -76,14 +76,23 @@ export default class VoiceUserSettingsTab extends React.Component {
|
|||
|
||||
_setAudioOutput = (e) => {
|
||||
CallMediaHandler.setAudioOutput(e.target.value);
|
||||
this.setState({
|
||||
activeAudioOutput: e.target.value,
|
||||
});
|
||||
};
|
||||
|
||||
_setAudioInput = (e) => {
|
||||
CallMediaHandler.setAudioInput(e.target.value);
|
||||
this.setState({
|
||||
activeAudioInput: e.target.value,
|
||||
});
|
||||
};
|
||||
|
||||
_setVideoInput = (e) => {
|
||||
CallMediaHandler.setVideoInput(e.target.value);
|
||||
this.setState({
|
||||
activeVideoInput: e.target.value,
|
||||
});
|
||||
};
|
||||
|
||||
_changeWebRtcMethod = (p2p) => {
|
||||
|
|
Loading…
Reference in New Issue