0

Log level change

This commit is contained in:
Gabe Kangas 2020-07-06 22:04:37 -07:00
parent ef295b6794
commit baaf556c54

View File

@ -59,7 +59,7 @@ func handlePublish(conn *rtmp.Conn) {
return return
} }
log.Println("Incoming RTMP connected.") log.Infoln("Incoming RTMP connected.")
pipePath := utils.GetTemporaryPipePath() pipePath := utils.GetTemporaryPipePath()
syscall.Mkfifo(pipePath, 0666) syscall.Mkfifo(pipePath, 0666)
@ -121,7 +121,7 @@ func connCheck(conn net.Conn) error {
} }
func handleDisconnect(conn *rtmp.Conn) { func handleDisconnect(conn *rtmp.Conn) {
log.Println("RTMP disconnected.") log.Infoln("RTMP disconnected.")
conn.Close() conn.Close()
_isConnected = false _isConnected = false
core.SetStreamAsDisconnected() core.SetStreamAsDisconnected()