Skip to content

Commit b58c7c4

Browse files
committed
fix: zero payload RTP log as debug instead warning
1 parent d431011 commit b58c7c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

media/rtp_packet_reader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ func (r *RTPPacketReader) Read(b []byte) (int, error) {
129129
}
130130
if rtpN == 0 {
131131
// ZERO Payload?
132-
r.log.Warn("ZERO Payload on RTP")
132+
r.log.Debug("ZERO Payload on RTP", "header", pkt.Header)
133133
return 0, nil
134134
}
135135

0 commit comments

Comments
 (0)