decord/source/modules/voice_calls/VoiceGatewayProtocolVersionExperiment.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

28 lines
952 B
TypeScript

// Module ID: 13734
// Function ID: 13735
// Name: apexExperiment
// Dependencies: [1468, 2]
// Exports: getVoiceGatewayProtocolVersion
// Module 13734 (apexExperiment)
import set from "set" /* 2 */;
import ApexExperiment from "ApexExperiment" /* 1468 */;
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 });
const result = set.fileFinishedImporting("modules/voice_calls/VoiceGatewayProtocolVersionExperiment.tsx");
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;
};