jiti-meet/react/features/video-quality/selector.ts

12 lines
368 B
TypeScript
Raw Normal View History

import { IReduxState } from '../app/types';
/**
* Selects the thumbnail height to the quality level mapping from the config.
*
* @param {Object} state - The redux state.
* @returns {Map<number,number>}
*/
export function getMinHeightForQualityLvlMap(state: IReduxState): Map<number, number> {
return state['features/video-quality'].minHeightForQualityLvl;
}