diff --git a/format/rtspv2/demuxer.go b/format/rtspv2/demuxer.go index d94c1c7..4579d73 100644 --- a/format/rtspv2/demuxer.go +++ b/format/rtspv2/demuxer.go @@ -2,6 +2,7 @@ package rtspv2 import ( "encoding/binary" + "fmt" "math" "time" @@ -41,7 +42,7 @@ func (client *RTSPClient) RTPDemuxer(payloadRAW *[]byte) ([]*av.Packet, bool) { } if !client.containsPayloadType(payloadType) { - client.Println("skipping RTP packet, paytload type: %d ", payloadType) + client.Println(fmt.Sprintf("skipping RTP packet, paytload type: %v", payloadType)) return nil, false }