mirror of https://bitbucket.org/ausocean/av.git
rtp: set defPayloadSIze to sendLen which is 7 *188 and also commented consts
This commit is contained in:
parent
efbc2a1a77
commit
cb762c04c6
|
@ -34,9 +34,9 @@ package rtp
|
|||
|
||||
const (
|
||||
rtpVer = 2
|
||||
headSize = 3 * 4
|
||||
defPayloadSize = 7 * 188
|
||||
defPktSize = headSize + defPayloadSize
|
||||
headSize = 3 * 4 // Header suze of an rtp packet.
|
||||
defPayloadSize = sendLen // Default payload size for the rtp packet.
|
||||
defPktSize = headSize + defPayloadSize // Default packet size is header size + payload size.
|
||||
)
|
||||
|
||||
// Pkt provides fields consistent with RFC3550 definition of an rtp packet
|
||||
|
|
Loading…
Reference in New Issue