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-constraints) Fix video constraints for resizable top panel (#11794)

Robert Pintiliif6d088149c11
diff --git a/react/features/video-quality/subscriber.js b/react/features/video-quality/subscriber.js
index f9269eef3b..56ae7f15c3 100644
--- a/react/features/video-quality/subscriber.js
+++ b/react/features/video-quality/subscriber.js
@@ -94,6 +94,16 @@ StateListenerRegistry.register(
}
);
+/**
+ * Updates the receiver constraints when the tiles in the resizable top panel change dimensions.
+ */
+StateListenerRegistry.register(
+ state => getVideoQualityForStageThumbnails(state),
+ (_, store) => {
+ _updateReceiverVideoConstraints(store);
+ }
+);
+
/**
* Updates the receiver constraints when the stage participants change.
*/