uint32_t cumulative_lost;
uint32_t extended_max_sequence_number;
uint32_t jitter;
-
- bool operator==(const RtcpStatistics& other) const {
- return fraction_lost == other.fraction_lost &&
- cumulative_lost == other.cumulative_lost &&
- extended_max_sequence_number == other.extended_max_sequence_number &&
- jitter == other.jitter;
- }
};
// Callback, called whenever a new rtcp report block is transmitted.
uint32_t packets; // Number of packets.
uint32_t retransmitted_packets; // Number of retransmitted packets.
uint32_t fec_packets; // Number of redundancy packets.
-
- bool operator==(const StreamDataCounters& other) const {
- return bytes == other.bytes && header_bytes == other.header_bytes &&
- padding_bytes == other.padding_bytes && packets == other.packets &&
- retransmitted_packets == other.retransmitted_packets &&
- fec_packets == other.fec_packets;
- }
};
// Callback, called whenever byte/packet counts have been updated.