Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(video-quality): Correctly pin camera tile. 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 https://github.com/jitsi/jitsi-meet/issues/14501

Jaya Allamsettyf525fb1999ca
diff --git a/react/features/video-quality/subscriber.ts b/react/features/video-quality/subscriber.ts
index be8f98200a..4ccdccaf83 100644
--- a/react/features/video-quality/subscriber.ts
+++ b/react/features/video-quality/subscriber.ts
@@ -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);
}
}