mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-14 20:17:48 +00:00
Change the preferredVideoQuality and maxReceiverVideoQuality values to Ultra HD resolutions. The requested resolution can be as high as 4K to facilitate VPaaS customers to request 4K. The sender video resolution will always max out at the value specified in the video constraints from config.js settings.
24 lines
580 B
JavaScript
24 lines
580 B
JavaScript
/**
|
|
* The supported remote video resolutions. The values are currently based on
|
|
* available simulcast layers.
|
|
*
|
|
* @type {object}
|
|
*/
|
|
export const VIDEO_QUALITY_LEVELS = {
|
|
ULTRA: 2160,
|
|
HIGH: 720,
|
|
STANDARD: 360,
|
|
LOW: 180
|
|
};
|
|
|
|
/**
|
|
* 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
|
|
};
|