Merge pull request #2739 from matrix-org/dbkr/devices_toggle_update
Fix media device selectors not updating
This commit is contained in:
commit
a6a3716576
1 changed files with 9 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue