Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Stop handleDisconnect from double firing
Gabe Kangas0798ae34d0d9
diff --git a/core/rtmp/rtmp.go b/core/rtmp/rtmp.goindex 90cbdf7028..7173f0da8b 100644--- a/core/rtmp/rtmp.go+++ b/core/rtmp/rtmp.go@@ -123,6 +123,10 @@ func HandleConn(c *rtmp.Conn, nc net.Conn) {}func handleDisconnect(conn net.Conn) {+ if !_hasInboundRTMPConnection {+ return+ }+log.Infoln("RTMP disconnected.")conn.Close()_pipe.Close()