Add additional logging of ffmpeg output to file. Help troubleshoot #34

This commit is contained in:
Gabe Kangas
2020-07-08 18:27:24 -07:00
parent 0a3691e25e
commit f54d1eba38
5 changed files with 21 additions and 12 deletions

View File

@ -41,7 +41,7 @@ func Start() {
if error != nil {
log.Panicln(error)
}
log.Printf("RTMP server is listening for incoming stream on port: %d", port)
log.Infof("RTMP server is listening for incoming stream on port: %d", port)
}
func handlePublish(conn *rtmp.Conn) {