From ee5e462c596d08aeb21a14a05ca09302d221ce23 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Mon, 15 Feb 2021 14:08:47 -0800 Subject: [PATCH] Update hint texts and add links to documentation --- web/components/config/cpu-usage.tsx | 2 +- web/components/config/video-variant-form.tsx | 25 ++++++++++---------- web/pages/config-video.tsx | 4 ++-- web/styles/config-video-variants.scss | 4 ++++ 4 files changed, 20 insertions(+), 15 deletions(-) diff --git a/web/components/config/cpu-usage.tsx b/web/components/config/cpu-usage.tsx index 8f64ac509..09acc19b9 100644 --- a/web/components/config/cpu-usage.tsx +++ b/web/components/config/cpu-usage.tsx @@ -47,7 +47,7 @@ export default function CPUUsageSelector({ defaultValue, onChange }: Props) {
CPU Usage

- There are trade-offs when considering CPU usage blah blah more wording here. + Reduce the to improve server performance, or increase it to improve video quality.

{ let note = `Selected: ${dataState.videoBitrate}${videoBRUnit}`; - if (dataState.videoBitrate < 3000) { + if (dataState.videoBitrate < 2000) { note = `${note} - Good for low bandwidth environments.`; - } else if (dataState.videoBitrate < 4500) { + } else if (dataState.videoBitrate < 3500) { note = `${note} - Good for most bandwidth environments.`; } else { note = `${note} - Good for high bandwidth environments.`; @@ -150,9 +150,7 @@ export default function VideoVariantForm({ return (

- Say a thing here about how this all works. Read more{' '} - here. Click the OK button below to - save your information. + Learn more about how each of these settings can impact the performance of your server.

@@ -163,6 +161,7 @@ export default function VideoVariantForm({ defaultValue={dataState.cpuUsageLevel} onChange={handleVideoCpuUsageLevelChange} /> +

Read more about CPU usage.

{/* VIDEO PASSTHROUGH FIELD - currently disabled */} @@ -180,9 +179,8 @@ export default function VideoVariantForm({ {/* VIDEO BITRATE FIELD */}
Video Bitrate

{VIDEO_VARIANT_DEFAULTS.videoBitrate.tip}

@@ -200,6 +198,7 @@ export default function VideoVariantForm({ />

{selectedVideoBRnote()}

+

Read more about bitrates.

@@ -207,8 +206,9 @@ export default function VideoVariantForm({

Resizing your content will take additional resources on your server. If you wish to - optionally resize your output for this stream variant then you should either set the - width or the height to keep your aspect ratio. + 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.

{selectedFramerateNote()}

+

Read more about framerates.

diff --git a/web/pages/config-video.tsx b/web/pages/config-video.tsx index f0042f469..d6e3bf39c 100644 --- a/web/pages/config-video.tsx +++ b/web/pages/config-video.tsx @@ -12,8 +12,8 @@ export default function ConfigVideoSettings() { Video configuration

Before changing your video configuration{' '} - visit the video documentation to learn - how it impacts your stream performance. + visit the video documentation to learn + how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

diff --git a/web/styles/config-video-variants.scss b/web/styles/config-video-variants.scss index a0d5c7213..32b29d67b 100644 --- a/web/styles/config-video-variants.scss +++ b/web/styles/config-video-variants.scss @@ -40,3 +40,7 @@ opacity: .8; } } + +.read-more-subtext { + font-size: 0.8rem; +} \ No newline at end of file