Log level change
This commit is contained in:
parent
ef295b6794
commit
baaf556c54
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user