What part of config.js really controls video quality and simulcast?

As I reported before, simulcast is completely broken at the moment… the quality of the video never increases when going through the JVB (more than 2 participants) and is unwatchable.

That being said, there is a new block of code in config.js that I have never seen before… What block should I edit to control video quality, the first, the last or both?

Block #1 (Commented by default):

// Video

// Sets the preferred resolution (height) for local video. Defaults to 720.
// resolution: 720,

// How many participants while in the tile view mode, before the receiving video quality is reduced from HD to SD.
// Use -1 to disable.
// maxFullResolutionParticipants: 2,

// w3c spec-compliant video constraints to use for video capture. Currently
// used by browsers that return true from lib-jitsi-meet's
// util#browser#usesNewGumFlow. The constraints are independent from
// this config's resolution value. Defaults to requesting an ideal
// resolution of 720p.
// constraints: {
//     video: {
//         height: {
//             ideal: 720,
//             max: 720,
//             min: 240
//         }
//     }
// },

// Enable / disable simulcast support.
// disableSimulcast: false,

Block #2

// Video configuration.
//
if (!config.hasOwnProperty(‘constraints’)) config.constraints = {};
if (!config.constraints.hasOwnProperty(‘video’)) config.constraints.video = {};
config.resolution = 720;
config.constraints.video.height = { ideal: 720, max: 720, min: 180 };
config.constraints.video.width = { ideal: 1280, max: 1280, min: 320};
config.disableSimulcast = false;
config.startVideoMuted = 10;

1 Like

And as a follow-up question… I know that some fixes to increase Video quality up to Ultra HD (4K) have been added, but are they reflected in the interface_config.js or config.js files yet?