decord/source/modules/go_live/GoLiveVideoPresetResolutionExperiment.tsx

23 lines
987 B
TypeScript
Raw Normal View History

// Module ID: 10094
// Function ID: 10095
// Name: GoLiveVideoPresetResolutionExperiment
// Dependencies: [4685, 1435, 2]
2026-07-20 16:05:17 +00:00
// Module 10094 (GoLiveVideoPresetResolutionExperiment)
import StreamSettingsConstants from "StreamSettingsConstants" /* 4685 */;
import ApexExperiment from "apex/ApexExperiment" /* 1435 */;
import size from "module_2" /* 2 */;
2026-07-20 16:05:17 +00:00
const ApplicationStreamResolutions = StreamSettingsConstants.ApplicationStreamResolutions;
const obj = { videoPresetResolutionMax: ApplicationStreamResolutions.RESOLUTION_1440 };
const obj2 = { name: "2026-02-go-live-video-preset-resolution", kind: "user", defaultConfig: obj, variations: null };
const obj3 = { 1: null };
const obj4 = {};
2026-07-20 16:05:17 +00:00
const merged = Object.assign(obj);
obj4.videoPresetResolutionMax = ApplicationStreamResolutions.RESOLUTION_1080;
obj3[1] = obj4;
obj2.variations = obj3;
const result = size.fileFinishedImporting("modules/go_live/GoLiveVideoPresetResolutionExperiment.tsx");
2026-07-20 16:05:17 +00:00
export default ApexExperiment(obj2);