diff --git a/stream/rtp/rtp.go b/stream/rtp/rtp.go index 37d6bbc0..47f4a91b 100644 --- a/stream/rtp/rtp.go +++ b/stream/rtp/rtp.go @@ -34,7 +34,7 @@ package rtp const ( rtpVer = 2 - headSize = 3 * 4 // Header suze of an rtp packet. + headSize = 3 * 4 // Header size of an rtp packet. defPayloadSize = sendLen // Default payload size for the rtp packet. defPktSize = headSize + defPayloadSize // Default packet size is header size + payload size. )