Skip to content

Commit

Permalink
fix(video-quality): Correctly pin camera tile.
Browse files Browse the repository at this point in the history
When screensharing source is the first source to be added with ssrc-rewriting enabled, constraints for the camera tile don't get updated when its pinned. Fixes #14501
  • Loading branch information
jallamsetty1 committed Mar 22, 2024
1 parent ffbaee0 commit f525fb1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions react/features/video-quality/subscriber.ts
Original file line number Diff line number Diff line change
Expand Up @@ -428,9 +428,7 @@ function _updateReceiverVideoConstraints({ getState }: IStore) {
if (remoteScreenShares.includes(largeVideoParticipantId)) {
largeVideoSourceName = largeVideoParticipantId;
} else {
largeVideoSourceName = getSsrcRewritingFeatureFlag(state)
? getSourceNamesByMediaType(state, largeVideoParticipantId, MEDIA_TYPE.VIDEO)?.[0]
: getTrackSourceNameByMediaTypeAndParticipant(
largeVideoSourceName = getTrackSourceNameByMediaTypeAndParticipant(
tracks, MEDIA_TYPE.VIDEO, largeVideoParticipantId);
}
}
Expand Down

0 comments on commit f525fb1

Please sign in to comment.