Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
fix(admin): fix error displaying and do not allow deleting of the last stream key. Closes #3114
Gabe Kangasca01b619f02a
diff --git a/web/components/admin/config/server/StreamKeys.tsx b/web/components/admin/config/server/StreamKeys.tsxindex 21373c4465..3c96b4f2ac 100644--- a/web/components/admin/config/server/StreamKeys.tsx+++ b/web/components/admin/config/server/StreamKeys.tsx@@ -31,7 +31,7 @@ const saveKeys = async (keys, setError) => {});} catch (error) {console.error(error);- setError(error);+ setError(error.message);}};export const generateRndKey = () => {@@ -199,7 +199,13 @@ const StreamKeys = () => {{title: '',key: 'delete',- render: text => <Button onClick={() => handleDeleteKey(text)} icon={<DeleteOutlined />} />,+ render: text => (+ <Button+ disabled={streamKeys.length === 1}+ onClick={() => handleDeleteKey(text)}+ icon={<DeleteOutlined />}+ />+ ),},];