RTCPPacket.xrGetSummaryPkt

Get the number of lost or duplicate packets. If the flag in a block header is set as zero, lost_packets or dup_packets will be zero.

class RTCPPacket
bool
xrGetSummaryPkt
(
out uint lostPackets
,
out uint dupPackets
)

Parameters

lostPackets uint

the number of lost packets between begin_seq and end_seq.

dupPackets uint

the number of duplicate packets between begin_seq and end_seq.

Return Value

Type: bool

true if the report block is correctly parsed.