Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
rm chat disable btn from server settings page (#260)
Meisam9e2746fb52c4
diff --git a/web/components/config/edit-server-details.tsx b/web/components/config/edit-server-details.tsxindex e3d2f76c0f..ae877a812b 100644--- a/web/components/config/edit-server-details.tsx+++ b/web/components/config/edit-server-details.tsx@@ -4,7 +4,6 @@ import { CopyOutlined, RedoOutlined } from '@ant-design/icons';import { TEXTFIELD_TYPE_NUMBER, TEXTFIELD_TYPE_PASSWORD } from './form-textfield';import TextFieldWithSubmit from './form-textfield-with-submit';-import ToggleSwitch from './form-toggleswitch';import { ServerStatusContext } from '../../utils/server-status-context';import { AlertMessageContext } from '../../utils/alert-message-context';@@ -14,7 +13,6 @@ import {TEXTFIELD_PROPS_RTMP_PORT,TEXTFIELD_PROPS_STREAM_KEY,TEXTFIELD_PROPS_WEB_PORT,- FIELD_PROPS_DISABLE_CHAT,} from '../../utils/config-constants';import { UpdateArgs } from '../../types/config-section';@@ -29,7 +27,7 @@ export default function EditInstanceDetails() {const { serverConfig } = serverStatusData || {};- const { chatDisabled, streamKey, ffmpegPath, rtmpServerPort, webServerPort, yp } = serverConfig;+ const { streamKey, ffmpegPath, rtmpServerPort, webServerPort, yp } = serverConfig;const [copyIsVisible, setCopyVisible] = useState(false);@@ -41,7 +39,6 @@ export default function EditInstanceDetails() {ffmpegPath,rtmpServerPort,webServerPort,- chatDisabled,});}, [serverConfig]);@@ -88,10 +85,6 @@ export default function EditInstanceDetails() {});}- function handleChatDisableChange(disabled: boolean) {- handleFieldChange({ fieldName: 'chatDisabled', value: disabled });- }-return (<div className="edit-server-details-container"><div className="field-container field-streamkey-container">@@ -145,13 +138,6 @@ export default function EditInstanceDetails() {onChange={handleFieldChange}onSubmit={showConfigurationRestartMessage}/>- <ToggleSwitch- fieldName="chatDisabled"- {...FIELD_PROPS_DISABLE_CHAT}- checked={formDataValues.chatDisabled}- onChange={handleChatDisableChange}- />-{yp.enabled && (<Collapse className="advanced-settings"><Panel header="Advanced Settings" key="1">