Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Reset the send button after posting. Closes https://github.com/owncast/owncast/issues/1691
Gabe Kangascee32fc73268
diff --git a/web/components/compose-federated-post.tsx b/web/components/compose-federated-post.tsxindex 901fbfae25..e76cdffe16 100644--- a/web/components/compose-federated-post.tsx+++ b/web/components/compose-federated-post.tsx@@ -20,6 +20,12 @@ export default function ComposeFederatedPost({ visible, handleClose }: ComposeFesetContent(e.target.value);}+ function close() {+ setPostPending(false);+ setPostSuccessState(null);+ handleClose();+ }+async function sendButtonClicked() {setPostPending(true);@@ -33,7 +39,7 @@ export default function ComposeFederatedPost({ visible, handleClose }: ComposeFeauth: true,});setPostSuccessState(STATUS_SUCCESS);- setTimeout(handleClose, 1000);+ setTimeout(close, 1000);} catch (e) {// eslint-disable-next-line no-consoleconsole.error(e);