Log packetType when sending.

This commit is contained in:
scruzin 2019-01-07 10:22:04 +10:30
parent 705fedc532
commit 9b14883bd3
1 changed files with 1 additions and 1 deletions

View File

@ -1433,7 +1433,7 @@ func C_RTMP_SendPacket(r *C_RTMP, packet *C_RTMPPacket, queue int) error {
if debugMode { if debugMode {
if r.Link.conn != nil { 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)
} }
} }