From 2d55252b7045204d445318991692d81689bcf456 Mon Sep 17 00:00:00 2001 From: Takeshi NAMAO Date: Mon, 21 Oct 2024 15:29:30 +0900 Subject: [PATCH] =?UTF-8?q?querystring=20=E3=82=92=20VideoBitrate=20?= =?UTF-8?q?=E3=81=AB=E5=8F=8D=E6=98=A0=E3=81=99=E3=82=8B=E6=99=82=E3=81=AB?= =?UTF-8?q?=E9=80=9A=E5=B8=B8=E3=81=AE=E6=96=87=E5=AD=97=E5=88=97=E6=89=B1?= =?UTF-8?q?=E3=81=84=E3=81=AB=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/utils.ts b/src/utils.ts index e73c1b90..e098d0ec 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -28,7 +28,6 @@ import { SPOTLIGHT, SPOTLIGHT_FOCUS_RIDS, SPOTLIGHT_NUMBERS, - VIDEO_BIT_RATES, VIDEO_CODEC_TYPES, VIDEO_CONTENT_HINTS, } from './constants.ts' @@ -156,7 +155,7 @@ export function parseQueryString(): Partial { ), resolution: parseStringParameter(qs.resolution), video: parseBooleanParameter(qs.video), - videoBitRate: parseSpecifiedStringParameter(qs.videoBitRate, VIDEO_BIT_RATES), + videoBitRate: parseStringParameter(qs.videoBitRate), videoCodecType: parseSpecifiedStringParameter(qs.videoCodecType, VIDEO_CODEC_TYPES), videoVP9Params: parseStringParameter(qs.videoVP9Params), videoH264Params: parseStringParameter(qs.videoH264Params),