Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Only try to read input stream in real-time, not faster
Gabe Kangasbaddda34610b
diff --git a/ffmpeg.go b/ffmpeg.goindex f886a02924..20a30e1601 100644--- a/ffmpeg.go+++ b/ffmpeg.go@@ -41,10 +41,11 @@ func startFfmpeg(configuration Config) {ffmpegFlags := []string{"-hide_banner",+ "-re","-i pipe:","-vf scale=900:-2","-sws_flags fast_bilinear",- strings.Join(videoMaps, " "), // All the different video variants+ strings.Join(videoMaps, " "), // All the different video variantsstrings.Join(audioMaps, " ") + " -c:a copy", // Audio for all the variants// strings.Join(audioMaps, " ") + " -c:a aac -b:a 192k -ac 2", // Audio for all the variants"-master_pl_name stream.m3u8",