fix(audio-only) Do not create a new track for audio-only changes.

Now that screenshare is permitted when a user is in audio-only mode, do not create a new video track if it doesn't exist when audio-only mode is automatically disabled. New tracks should only be prompted by user action such a camera unmute or start screenshare. Fixes https://github.com/jitsi/jitsi-meet/issues/11460.
pull/11482/head jitsi-meet_7270
Jaya Allamsetty 3 years ago
parent 8e67c8e74f
commit fd62ca6c67
  1. 3
      conference.js

@ -2617,7 +2617,8 @@ export default {
track => track.jitsiTrack track => track.jitsiTrack
&& track.jitsiTrack.getType() === 'video')); && track.jitsiTrack.getType() === 'video'));
if (!isTrackInRedux) {
if (isTrackInRedux) {
this.muteVideo(audioOnly); this.muteVideo(audioOnly);
} }

Loading…
Cancel
Save