You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-20 16:22:28 +03:00
Merge pull request #2739 from matrix-org/dbkr/devices_toggle_update
Fix media device selectors not updating
This commit is contained in:
@@ -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) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user