* feat(tile-view): initial implementation for tile view - Modify the classname on the app root so layout can adjust depending on the desired layout mode--vertical filmstrip, horizontal filmstrip, and tile view. - Create a button for toggling tile view. - Add a StateListenerRegistry to automatically update the selected participant and max receiver frame height on tile view toggle. - Rezise thumbnails when switching in and out of tile view. - Move the local video when switching in and out of tile view. - Update reactified pieces of thumbnails when switching in and out of tile view. - Cap the max receiver video quality in tile view based on tile size. - Use CSS to hide UI components that should not display in tile view. - Signal follow me changes. * change local video id for tests * change approach: leverage more css * squash: fix some formatting * squash: prevent pinning, hide pin border in tile view * squash: change logic for maxReceiverQuality due to sidestepping resizing logic * squash: fix typo, columns configurable, remove unused constants * squash: resize with js again * squash: use yana's math for calculating tile size
11 lines
281 B
JavaScript
11 lines
281 B
JavaScript
/**
|
|
* An enumeration of the different display layouts supported by the application.
|
|
*
|
|
* @type {Object}
|
|
*/
|
|
export const LAYOUTS = {
|
|
HORIZONTAL_FILMSTRIP_VIEW: 'horizontal-filmstrip-view',
|
|
TILE_VIEW: 'tile-view',
|
|
VERTICAL_FILMSTRIP_VIEW: 'vertical-filmstrip-view'
|
|
};
|