Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Fix auto-generated keys not saving. Closes #2874
Gabe Kangas0bb4f9d6b7dd
diff --git a/web/components/admin/config/server/StreamKeys.tsx b/web/components/admin/config/server/StreamKeys.tsxindex 2ca850215b..ff353fead9 100644--- a/web/components/admin/config/server/StreamKeys.tsx+++ b/web/components/admin/config/server/StreamKeys.tsx@@ -57,6 +57,7 @@ const AddKeyForm = ({ setShowAddKeyForm, setFieldInConfigState, streamKeys, setEconst [hasChanged, setHasChanged] = useState(true);const [form] = Form.useForm();const { Item } = Form;+// Password Complexity rulesconst passwordComplexityRules = [];@@ -98,6 +99,7 @@ const AddKeyForm = ({ setShowAddKeyForm, setFieldInConfigState, streamKeys, setEonFinish={handleAddKey}form={form}style={{ display: 'flex', flexDirection: 'row' }}+ initialValues={{ key: defaultKey, comment: 'My new key' }}><Itemstyle={{ width: '60%', marginRight: '5px' }}@@ -112,7 +114,7 @@ const AddKeyForm = ({ setShowAddKeyForm, setFieldInConfigState, streamKeys, setE}rules={PASSWORD_COMPLEXITY_RULES}>- <Input placeholder="def456" defaultValue={defaultKey} onChange={handleInputChange} />+ <Input placeholder="your key" onChange={handleInputChange} /></Item><Itemstyle={{ width: '60%', marginRight: '5px' }}