Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
Explicitly ignore io.Copy's return values (#352)
Christian Muehlhaeuser736964ddea82
diff --git a/core/ffmpeg/fileWriterReceiverService.go b/core/ffmpeg/fileWriterReceiverService.goindex d900608c11..73c92bcfaf 100644--- a/core/ffmpeg/fileWriterReceiverService.go+++ b/core/ffmpeg/fileWriterReceiverService.go@@ -55,8 +55,9 @@ func (s *FileWriterReceiverService) uploadHandler(w http.ResponseWriter, r *httpwritePath := filepath.Join(config.PrivateHLSStoragePath, path)var buf bytes.Buffer- io.Copy(&buf, r.Body)+ _, _ = io.Copy(&buf, r.Body)data := buf.Bytes()+f, err := os.Create(writePath)if err != nil {returnError(err, w, r)