fix(conference): do not mute when screen sharing
Screen sharing video should not be muted if video input device is disconnected.
This commit is contained in:
parent
c4c100e26a
commit
6655ae5a84
|
@ -2018,9 +2018,10 @@ export default {
|
||||||
|
|
||||||
// If video was muted before, or we unplugged current device
|
// If video was muted before, or we unplugged current device
|
||||||
// and selected new one, then mute new video track.
|
// and selected new one, then mute new video track.
|
||||||
if (videoWasMuted ||
|
if (!this.isSharingScreen &&
|
||||||
|
(videoWasMuted ||
|
||||||
currentDevices.videoinput.length >
|
currentDevices.videoinput.length >
|
||||||
availableVideoInputDevices.length) {
|
availableVideoInputDevices.length)) {
|
||||||
muteLocalVideo(true);
|
muteLocalVideo(true);
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
|
|
Loading…
Reference in New Issue