decord/alpha/source/modules/media_engine/GoLiveHdrExperiment.tsx

23 lines
945 B
TypeScript
Raw Normal View History

// Module ID: 13749
// Function ID: 13750
// Name: GoLiveHdrExperiment
// Dependencies: [1435, 2]
2026-07-20 16:05:17 +00:00
// Exports: getGoLiveHdrConfig
// Module 13749 (GoLiveHdrExperiment)
import ApexExperiment from "ApexExperiment" /* 1435 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
const obj = { Never: "never", Always: "always", PermittedDevicesOnly: "permittedDevicesOnly" };
const obj2 = { name: "2026-02-go-live-hdr", kind: "user", defaultConfig: { hdrCaptureMode: obj.Never }, variations: null };
const obj3 = { 1: null, 2: { hdrCaptureMode: obj.Always } };
obj3[2] = { hdrCaptureMode: obj.PermittedDevicesOnly };
obj2.variations = obj3;
const config = ApexExperiment.createApexExperiment(obj2);
const result = size.fileFinishedImporting("modules/media_engine/GoLiveHdrExperiment.tsx");
2026-07-20 16:05:17 +00:00
export const HdrCaptureMode = obj;
export const getGoLiveHdrConfig = function getGoLiveHdrConfig(location) {
return config.getConfig({ location: location.location });
};