mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-14 15:37:48 +00:00
Allows to adjust thresholds which control the video quality level in the thumbnail view. Changes the default behaviour to request the SD (360p) resolution only when the thumbnails are at least 360 pixels tall and the height of 720 is required for the high quality level. The thresholds can be configured with the 'videoQuality.minHeightForQualityLvl' config property. Check the description in the config.js for more details.
13 lines
397 B
JavaScript
13 lines
397 B
JavaScript
import { VIDEO_QUALITY_LEVELS } from '../base/conference';
|
|
|
|
/**
|
|
* Maps quality level names used in the config.videoQuality.minHeightForQualityLvl to the quality level constants used
|
|
* by the application.
|
|
* @type {Object}
|
|
*/
|
|
export const CFG_LVL_TO_APP_QUALITY_LVL = {
|
|
'low': VIDEO_QUALITY_LEVELS.LOW,
|
|
'standard': VIDEO_QUALITY_LEVELS.STANDARD,
|
|
'high': VIDEO_QUALITY_LEVELS.HIGH
|
|
};
|