RTCPPacket.addRb

Add a new report block to packet with the given values.

class RTCPPacket
bool
addRb
(
uint ssrc
,,,,
uint jitter
,
uint lsr
,
uint dlsr
)

Parameters

ssrc uint

data source being reported

fractionlost ubyte

fraction lost since last SR/RR

packetslost int

the cumululative number of packets lost

exthighestseq uint

the extended last sequence number received

jitter uint

the interarrival jitter

lsr uint

the last SR packet from this source

dlsr uint

the delay since last SR packet

Return Value

Type: bool

true if the packet was created. This function can return false if the max MTU is exceeded or the number of report blocks is greater than #GST_RTCP_MAX_RB_COUNT.