diff --git a/web/pages/components/config/constants.tsx b/web/pages/components/config/constants.tsx index 143d9e821..8354e5ad5 100644 --- a/web/pages/components/config/constants.tsx +++ b/web/pages/components/config/constants.tsx @@ -106,8 +106,8 @@ export const TEXTFIELD_PROPS_WEB_PORT = { configPath: '', maxLength: 6, placeholder: '8080', - label: 'Owncast Server port', - tip: 'What port are you serving Owncast from? Default is :8080', + label: 'Owncast port', + tip: 'What port is your Owncast web server listening? Default is 8080', required: true, }; export const TEXTFIELD_PROPS_RTMP_PORT = { @@ -116,7 +116,7 @@ export const TEXTFIELD_PROPS_RTMP_PORT = { maxLength: 6, placeholder: '1935', label: 'RTMP port', - tip: 'What port are you receiving RTMP?', + tip: 'What port should accept inbound broadcasts? Default is 1935', required: true, }; export const TEXTFIELD_PROPS_INSTANCE_URL = { diff --git a/web/pages/components/config/edit-server-details.tsx b/web/pages/components/config/edit-server-details.tsx index f09f0d51d..77551557f 100644 --- a/web/pages/components/config/edit-server-details.tsx +++ b/web/pages/components/config/edit-server-details.tsx @@ -54,6 +54,16 @@ export default function EditInstanceDetails() { setMessage('Updating server settings requires a restart of your Owncast server.'); }; + const showStreamKeyChangeMessage = () => { + setMessage('Changing your stream key will log you out of the admin and block you from streaming until you change the key in your broadcasting software.'); + }; + + const showFfmpegChangeMessage = () => { + if (serverStatusData.online) { + setMessage('The updated ffmpeg path will be used when starting your next live stream.'); + } + }; + function generateStreamKey() { let key = ''; for (let i = 0; i < 3; i += 1) { @@ -81,6 +91,7 @@ export default function EditInstanceDetails() { initialValue={streamKey} type={TEXTFIELD_TYPE_PASSWORD} onChange={handleFieldChange} + onSubmit={showStreamKeyChangeMessage} />
- There are trade-offs when cosidering video latency and reliability. Blah blah .. better - wording here needed. + While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability in some environments the lower you go.
-- Add some content about your site with the Markdown editor below. This content shows up at - the bottom half of your Owncast page. + Edit the content of your page by using simple Markdown syntax.