diff --git a/web/components/config/cpu-usage.tsx b/web/components/config/cpu-usage.tsx index 9d46c8b28..b75aa8bc4 100644 --- a/web/components/config/cpu-usage.tsx +++ b/web/components/config/cpu-usage.tsx @@ -49,8 +49,8 @@ export default function CPUUsageSelector({ defaultValue, disabled, onChange }: P return 'CPU usage selection is disabled when Video Passthrough is enabled.'; } - return TOOLTIPS[selectedOption] - } + return TOOLTIPS[selectedOption]; + }; return (
diff --git a/web/components/config/video-variant-form.tsx b/web/components/config/video-variant-form.tsx index d5cf90093..2ac63ebd0 100644 --- a/web/components/config/video-variant-form.tsx +++ b/web/components/config/video-variant-form.tsx @@ -228,10 +228,12 @@ export default function VideoVariantForm({
Resolution

- Resizing your content will take additional resources on your server. If you wish to - optionally resize your content for this stream output then you should either set the - width or the height to keep your aspect ratio.{' '} - Read more about resolutions. + Resizing your content will take additional resources on your server. If you wish + to optionally resize your content for this stream output then you should either + set the width or the height to keep your aspect ratio.{' '} + + Read more about resolutions. +


Video Passthrough

-

Enabling video passthrough may allow for less hardware utilization, but may also make your stream unplayable.

-

All other settings for this stream output will be disabled if passthrough is used.

-

Read the documentation before enabling, as it impacts your stream.

+

+ Enabling video passthrough may allow for less hardware utilization, but may also + make your stream unplayable. +

+

+ All other settings for this stream output will be disabled if passthrough is + used. +

+

+ + Read the documentation before enabling, as it impacts your stream. + +

(!bitrate || variant.videoPassthrough ? 'Same as source' : `${bitrate} kbps`), + render: (bitrate: number, variant: VideoVariant) => + !bitrate || variant.videoPassthrough ? 'Same as source' : `${bitrate} kbps`, }, { title: 'CPU Usage', dataIndex: 'cpuUsageLevel', key: 'cpuUsageLevel', - render: (level: string, variant: VideoVariant) => (!level || variant.videoPassthrough ? 'n/a' : CPU_USAGE_LEVEL_MAP[level]), + render: (level: string, variant: VideoVariant) => + !level || variant.videoPassthrough ? 'n/a' : CPU_USAGE_LEVEL_MAP[level], }, { title: '',