Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Increase the time between broadcast started and when we are marked as online
Gabe Kangase8fec04a67e9
diff --git a/core/stats.go b/core/stats.goindex 9c5b6e6ead..3bf341479e 100644--- a/core/stats.go+++ b/core/stats.go@@ -67,9 +67,9 @@ func IsStreamConnected() bool {}// Kind of a hack. It takes a handful of seconds between a RTMP connection and when HLS data is available.- // So account for that with an artificial buffer of three segments.+ // So account for that with an artificial buffer of four segments.timeSinceLastConnected := time.Since(_stats.LastConnectTime).Seconds()- if timeSinceLastConnected < float64(config.Config.GetVideoSegmentSecondsLength()*3.0) {+ if timeSinceLastConnected < float64(config.Config.GetVideoSegmentSecondsLength()*4.0) {return false}