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.
This commit is contained in:
parent
8e67c8e74f
commit
fd62ca6c67
|
@ -2617,7 +2617,8 @@ export default {
|
|||
track => track.jitsiTrack
|
||||
&& track.jitsiTrack.getType() === 'video'));
|
||||
|
||||
if (!isTrackInRedux) {
|
||||
|
||||
if (isTrackInRedux) {
|
||||
this.muteVideo(audioOnly);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue