mirror of
https://github.com/owncast/owncast.git
synced 2025-11-01 19:32:20 +08:00
Fix incorrect logging method
This commit is contained in:
@ -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())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user