decord/source/modules/voice_calls/VoiceGatewayProtocolVersionExperiment.tsx

29 lines
952 B
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 13138
// Function ID: 13139
2026-07-30 10:14:41 +00:00
// Name: apexExperiment
2026-08-15 05:55:55 +00:00
// Dependencies: [1472, 2]
2026-07-30 10:14:41 +00:00
// Exports: getVoiceGatewayProtocolVersion
2026-08-24 06:08:38 +00:00
// Module 13138 (apexExperiment)
import set from "set" /* 2 */;
import ApexExperiment from "ApexExperiment" /* 1472 */;
2026-07-30 10:14:41 +00:00
let obj = { 1: null };
obj[1] = { enabled: true };
const apexExperiment = ApexExperiment.createApexExperiment({ name: "2026-04-voice-gateway-protocol-version", kind: "user", defaultConfig: { enabled: false }, variations: obj });
2026-08-24 06:08:38 +00:00
const result = set.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) {
const obj = { location: null };
obj[0] = tmp;
num = 9;
if (apexExperiment.getConfig(obj).enabled) {
num = 10;
}
}
return num;
};