From 9b14883bd3e7da55ad8016987b9b29b2c8ecf519 Mon Sep 17 00:00:00 2001 From: scruzin Date: Mon, 7 Jan 2019 10:22:04 +1030 Subject: [PATCH] Log packetType when sending. --- rtmp/rtmp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtmp/rtmp.go b/rtmp/rtmp.go index ef36a3f1..a9ee9a55 100644 --- a/rtmp/rtmp.go +++ b/rtmp/rtmp.go @@ -1433,7 +1433,7 @@ func C_RTMP_SendPacket(r *C_RTMP, packet *C_RTMPPacket, queue int) error { if debugMode { if r.Link.conn != nil { - log.Printf("C_RTMP_SendPacket: %v->%v, size=%v", r.Link.conn.LocalAddr(), r.Link.conn.RemoteAddr(), nSize) + log.Printf("C_RTMP_SendPacket: %v->%v, size=%v, type=%v", r.Link.conn.LocalAddr(), r.Link.conn.RemoteAddr(), nSize, packet.m_packetType) } }