Skip to content

Commit

Permalink
fix(audio-only) Do not create a new track for audio-only changes.
Browse files Browse the repository at this point in the history
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 jitsi#11460.
  • Loading branch information
jallamsetty1 committed May 3, 2022
1 parent 8e67c8e commit fd62ca6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion conference.js
Original file line number Diff line number Diff line change
Expand Up @@ -2617,7 +2617,8 @@ export default {
track => track.jitsiTrack
&& track.jitsiTrack.getType() === 'video'));

if (!isTrackInRedux) {

if (isTrackInRedux) {
this.muteVideo(audioOnly);
}

Expand Down

0 comments on commit fd62ca6

Please sign in to comment.