Skip to content

Commit

Permalink
querystring を VideoBitrate に反映する時に通常の文字列扱いにする
Browse files Browse the repository at this point in the history
  • Loading branch information
tnamao committed Oct 21, 2024
1 parent 87af894 commit 2d55252
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import {
SPOTLIGHT,
SPOTLIGHT_FOCUS_RIDS,
SPOTLIGHT_NUMBERS,
VIDEO_BIT_RATES,
VIDEO_CODEC_TYPES,
VIDEO_CONTENT_HINTS,
} from './constants.ts'
Expand Down Expand Up @@ -156,7 +155,7 @@ export function parseQueryString(): Partial<QueryStringParameters> {
),
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),
Expand Down

0 comments on commit 2d55252

Please sign in to comment.