fix(video-constraints) Fix video constraints for resizable top panel (#11794)

This commit is contained in:
Robert Pintilii 2022-07-05 17:23:01 +03:00 committed by GitHub
parent cbe3d6d505
commit f6d088149c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

@ -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.
*/