Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4943.js (118.4 MB)
29 lines
1 KiB
TypeScript
29 lines
1 KiB
TypeScript
// Module ID: 14351
|
|
// Function ID: 14352
|
|
// Name: VoiceGatewayProtocolVersionExperiment
|
|
// Dependencies: [1438, 2]
|
|
// Exports: getVoiceGatewayProtocolVersion
|
|
|
|
// Module 14351 (VoiceGatewayProtocolVersionExperiment)
|
|
import ApexExperiment from "ApexExperiment" /* 1438 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
let obj = { name: "2026-04-voice-gateway-protocol-version", kind: "user", defaultConfig: { enabled: false }, variations: null };
|
|
const obj2 = { 1: null };
|
|
obj2[1] = { enabled: true };
|
|
obj.variations = obj2;
|
|
const apexExperiment = ApexExperiment.createApexExperiment(obj);
|
|
const result = size.fileFinishedImporting("modules/voice_calls/VoiceGatewayProtocolVersionExperiment.tsx");
|
|
|
|
export default apexExperiment;
|
|
export const getVoiceGatewayProtocolVersion = function getVoiceGatewayProtocolVersion(supportsSfuUpdate) {
|
|
let num = 9;
|
|
if (supportsSfuUpdate.supportsSfuUpdate) {
|
|
const obj = { location: tmp };
|
|
num = 9;
|
|
if (apexExperiment.getConfig(obj).enabled) {
|
|
num = 10;
|
|
}
|
|
}
|
|
return num;
|
|
};
|