fix(admin): 渠道模型 - 补充 1440P 分辨率并支持自定义档位

This commit is contained in:
ddCat
2026-08-15 22:11:02 +08:00
parent b9d432f218
commit e26ed02c2e
5 changed files with 24 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
export const VIDEO_DURATION_OPTIONS = [6, 9, 10, 15] as const;
export const VIDEO_RESOLUTION_OPTIONS = [480, 720, 1080, 1440, 2160] as const;
export const VIDEO_RESOLUTION_CAPABILITY_OPTIONS = VIDEO_RESOLUTION_OPTIONS.map((value) => `${value}p`);
export const VIDEO_DURATION_MIN = 1;
export function normalizeVideoDuration(value: string | number | undefined) {