decord/source/modules/go_live/utils/canStreamWithSettings.tsx

50 lines
1.6 KiB
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 10695
// Function ID: 10696
2026-07-29 08:29:29 +00:00
// Name: canStreamWithSettings
2026-08-05 07:35:12 +00:00
// Dependencies: [4310, 10696, 10697, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-05 07:35:12 +00:00
// Module 10695 (canStreamWithSettings)
2026-07-29 08:29:29 +00:00
import RESOLUTION_720 from "RESOLUTION_720";
2026-07-23 10:11:24 +00:00
2026-07-29 08:29:29 +00:00
let c3;
let c4;
({ ApplicationStreamSettingRequirements: c3, ApplicationStreamPresets: c4 } = RESOLUTION_720);
2026-07-23 10:11:24 +00:00
const result = require("canUseStreamSetting").fileFinishedImporting("modules/go_live/utils/canStreamWithSettings.tsx");
2026-07-20 16:05:17 +00:00
export default function canStreamWithSettings(arg0, arg1, arg2, arg3, arg4, arg5) {
if (arg0 === constants.PRESET_AUTO) {
2026-08-05 07:35:12 +00:00
return require(10696) /* getGoLiveAutoQualityExperimentConfig */.getGoLiveAutoQualityExperimentConfig({ location: "canStreamWithSettings" }).allowAutoQuality;
2026-07-20 16:05:17 +00:00
} else {
2026-07-29 08:29:29 +00:00
const iter = dependencyMap[Symbol.iterator]();
const nextResult = iter.next();
while (iter !== undefined) {
let tmp4 = nextResult;
if (null == nextResult.preset) {
let tmp6 = nextResult;
if (arg1 === tmp4.resolution) {
let tmp7 = nextResult;
if (arg2 === tmp4.fps) {
let tmp8 = importDefault;
let tmp9 = dependencyMap;
let tmp10 = nextResult;
let tmp11 = arg3;
let tmp12 = arg4;
let tmp13 = arg5;
2026-08-05 07:35:12 +00:00
if (importDefault(10697)(tmp4, arg3, arg4, arg5)) {
2026-07-29 08:29:29 +00:00
let tmp14 = iter;
iter.return();
let flag = true;
return true;
2026-07-20 16:05:17 +00:00
}
}
}
2026-07-29 08:29:29 +00:00
} else {
let tmp5 = nextResult;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
continue;
2026-07-20 16:05:17 +00:00
}
return false;
}
};