Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4791.js (118.4 MB)
39 lines
1.4 KiB
TypeScript
39 lines
1.4 KiB
TypeScript
// Module ID: 10046
|
|
// Function ID: 10047
|
|
// Name: canStreamWithSettings
|
|
// Dependencies: [4653, 10047, 10048, 2]
|
|
// Exports: default
|
|
|
|
// Module 10046 (canStreamWithSettings)
|
|
import GoLiveAutoQualityExperiment from "GoLiveAutoQualityExperiment" /* 10047 */;
|
|
import canUseStreamSettingDefault from "canUseStreamSetting" /* 10048 */;
|
|
import StreamSettingsConstants from "StreamSettingsConstants" /* 4653 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
({ ApplicationStreamSettingRequirements: c3, ApplicationStreamPresets: closure_4 } = StreamSettingsConstants);
|
|
const result = size.fileFinishedImporting("modules/go_live/utils/canStreamWithSettings.tsx");
|
|
|
|
export default function canStreamWithSettings(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
if (arg0 === constants.PRESET_AUTO) {
|
|
return GoLiveAutoQualityExperiment.getGoLiveAutoQualityExperimentConfig({ location: "canStreamWithSettings" }).allowAutoQuality;
|
|
} else {
|
|
const iter = dependencyMap[Symbol.iterator]();
|
|
const nextResult = iter.next();
|
|
while (iter !== undefined) {
|
|
let tmp4 = nextResult;
|
|
if (null == nextResult.preset) {
|
|
if (arg1 === tmp4.resolution) {
|
|
if (arg2 === tmp4.fps) {
|
|
if (canUseStreamSettingDefault(tmp4, arg3, arg4, arg5)) {
|
|
iter.return();
|
|
let flag = true;
|
|
return true;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
continue;
|
|
}
|
|
return false;
|
|
}
|
|
};
|