|
@@ -2018,9 +2018,10 @@ export default {
|
2018
|
2018
|
|
2019
|
2019
|
// If video was muted before, or we unplugged current device
|
2020
|
2020
|
// and selected new one, then mute new video track.
|
2021
|
|
- if (videoWasMuted ||
|
2022
|
|
- currentDevices.videoinput.length >
|
2023
|
|
- availableVideoInputDevices.length) {
|
|
2021
|
+ if (!this.isSharingScreen &&
|
|
2022
|
+ (videoWasMuted ||
|
|
2023
|
+ currentDevices.videoinput.length >
|
|
2024
|
+ availableVideoInputDevices.length)) {
|
2024
|
2025
|
muteLocalVideo(true);
|
2025
|
2026
|
}
|
2026
|
2027
|
}));
|