Fix incorrect logging method
This commit is contained in:
parent
63954d4e1b
commit
a7a9ae0984
@ -64,7 +64,7 @@ func Start() {
|
|||||||
func HandleConn(c *rtmp.Conn, nc net.Conn) {
|
func HandleConn(c *rtmp.Conn, nc net.Conn) {
|
||||||
c.LogTagEvent = func(isRead bool, t flvio.Tag) {
|
c.LogTagEvent = func(isRead bool, t flvio.Tag) {
|
||||||
if t.Type == flvio.TAG_AMF0 {
|
if t.Type == flvio.TAG_AMF0 {
|
||||||
log.Traceln("%+v\n", t.DebugFields())
|
log.Tracef("%+v\n", t.DebugFields())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user