2026-10-12 16:32:48 +00:00
|
|
|
// Module ID: 14323
|
|
|
|
|
// Function ID: 14324
|
2026-09-18 19:45:33 +00:00
|
|
|
// Name: LowLatencyRateControlExperiment
|
2026-10-12 16:32:48 +00:00
|
|
|
// Dependencies: [1454, 2]
|
2026-09-18 19:45:33 +00:00
|
|
|
// Exports: getLowLatencyRateControlExperimentConfig
|
|
|
|
|
|
2026-10-12 16:32:48 +00:00
|
|
|
// Module 14323 (LowLatencyRateControlExperiment)
|
|
|
|
|
import apex_ApexExperimentDefault from "apex/ApexExperiment" /* 1454 */;
|
2026-10-01 14:13:23 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-09-18 19:45:33 +00:00
|
|
|
|
2026-10-01 14:13:23 +00:00
|
|
|
let obj2;
|
|
|
|
|
const obj = { kind: "user", name: "2025-10-low-latency-rate-control", defaultConfig: { enabled: false }, variations: obj2 };
|
|
|
|
|
obj2 = { 1: null };
|
2026-09-18 19:45:33 +00:00
|
|
|
obj2[1] = { enabled: true };
|
|
|
|
|
let closure_0 = apex_ApexExperimentDefault(obj);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/media_engine/LowLatencyRateControlExperiment.tsx");
|
|
|
|
|
|
|
|
|
|
export const getLowLatencyRateControlExperimentConfig = function getLowLatencyRateControlExperimentConfig(disable) {
|
2026-10-01 14:13:23 +00:00
|
|
|
let defaultConfig;
|
2026-09-18 19:45:33 +00:00
|
|
|
let flag = disable.disable;
|
2026-10-01 14:13:23 +00:00
|
|
|
const _location = disable.location;
|
2026-09-18 19:45:33 +00:00
|
|
|
if (flag === undefined) {
|
|
|
|
|
flag = false;
|
|
|
|
|
}
|
|
|
|
|
if (flag) {
|
2026-10-01 14:13:23 +00:00
|
|
|
defaultConfig = obj.definition.defaultConfig;
|
2026-09-18 19:45:33 +00:00
|
|
|
} else {
|
2026-10-01 14:13:23 +00:00
|
|
|
const obj2 = { location: _location };
|
2026-09-18 19:45:33 +00:00
|
|
|
defaultConfig = obj.getConfig(obj2);
|
|
|
|
|
}
|
|
|
|
|
return defaultConfig;
|
|
|
|
|
};
|