decord/alpha/source/modules/voice_calls/VoiceGatewayProtocolVersionExperiment.tsx

30 lines
1,010 B
TypeScript
Raw Normal View History

2026-10-09 10:00:15 +00:00
// Module ID: 14310
// Function ID: 14311
// Name: VoiceGatewayProtocolVersionExperiment
2026-10-09 10:00:15 +00:00
// Dependencies: [1453, 2]
2026-07-30 10:14:41 +00:00
// Exports: getVoiceGatewayProtocolVersion
2026-10-09 10:00:15 +00:00
// Module 14310 (VoiceGatewayProtocolVersionExperiment)
import ApexExperiment from "ApexExperiment" /* 1453 */;
import size from "module_2" /* 2 */;
2026-07-30 10:14:41 +00:00
2026-10-03 08:58:59 +00:00
let obj2;
let obj = { name: "2026-04-voice-gateway-protocol-version", kind: "user", defaultConfig: { enabled: false }, variations: obj2 };
obj2 = { 1: null };
obj2[1] = { enabled: true };
const apexExperiment = ApexExperiment.createApexExperiment(obj);
const result = size.fileFinishedImporting("modules/voice_calls/VoiceGatewayProtocolVersionExperiment.tsx");
2026-07-30 10:14:41 +00:00
export default apexExperiment;
export const getVoiceGatewayProtocolVersion = function getVoiceGatewayProtocolVersion(supportsSfuUpdate) {
let num = 9;
if (supportsSfuUpdate.supportsSfuUpdate) {
num = 9;
2026-10-03 08:58:59 +00:00
const obj = { location: tmp };
2026-07-30 10:14:41 +00:00
if (apexExperiment.getConfig(obj).enabled) {
num = 10;
}
}
return num;
};