From a11999c3c07d7ae8f0dc528aa521f74f931118d1 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Mon, 13 Jul 2020 23:55:12 -0700 Subject: [PATCH] Log cleanup --- core/rtmp/rtmp.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/core/rtmp/rtmp.go b/core/rtmp/rtmp.go index 74587a1bd..8b8f84016 100644 --- a/core/rtmp/rtmp.go +++ b/core/rtmp/rtmp.go @@ -64,9 +64,8 @@ func Start() { func HandleConn(c *rtmp.Conn, nc net.Conn) { c.LogTagEvent = func(isRead bool, t flvio.Tag) { if t.Type == flvio.TAG_AMF0 { - log.Infof("%+v\n", t.DebugFields()) + log.Traceln("%+v\n", t.DebugFields()) } - } if _isConnected { @@ -109,10 +108,6 @@ func HandleConn(c *rtmp.Conn, nc net.Conn) { return } - if pkt.Metadata != nil { - fmt.Println(string(pkt.Metadata)) - } - if err := w.WritePacket(pkt); err != nil { panic(err) }