diff --git a/react/features/video-quality/subscriber.ts b/react/features/video-quality/subscriber.ts index be8f98200ac..4ccdccaf834 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); } }