25 lines
946 B
TypeScript
25 lines
946 B
TypeScript
// Module ID: 12824
|
|
// Function ID: 99802
|
|
// Name: getLowLatencyRateControlExperimentConfig
|
|
// Dependencies: [1325, 2]
|
|
// Exports: getLowLatencyRateControlExperimentConfig
|
|
|
|
// Module 12824 (getLowLatencyRateControlExperimentConfig)
|
|
let obj = { kind: "user", name: "2025-10-low-latency-rate-control", defaultConfig: { enabled: false }, variations: { [1]: { enabled: true } } };
|
|
let closure_0 = require("getUnitId")(obj);
|
|
const result = require("set").fileFinishedImporting("modules/media_engine/LowLatencyRateControlExperiment.tsx");
|
|
|
|
export const getLowLatencyRateControlExperimentConfig = function getLowLatencyRateControlExperimentConfig(disable) {
|
|
let flag = disable.disable;
|
|
if (flag === undefined) {
|
|
flag = false;
|
|
}
|
|
let obj = closure_0;
|
|
if (flag) {
|
|
let defaultConfig = obj.definition.defaultConfig;
|
|
} else {
|
|
obj = { location: disable.location };
|
|
defaultConfig = obj.getConfig(obj);
|
|
}
|
|
return defaultConfig;
|
|
};
|