int32_t bitrate_bps;
StreamDataCounters rtp_stats;
RtcpStatistics rtcp_stats;
-
- bool operator==(const StreamStats& other) const {
- return key_frames == other.key_frames &&
- delta_frames == other.delta_frames &&
- bitrate_bps == other.bitrate_bps && rtp_stats == other.rtp_stats &&
- rtcp_stats == other.rtcp_stats;
- }
};
// Settings for NACK, see RFC 4585 for details.
int red_payload_type;
};
-// Settings for RTP retransmission payload format, see RFC 4588 for details.
-struct RtxConfig {
- RtxConfig() : rtx_payload_type(0) {}
- // SSRCs to use for the RTX streams.
- std::vector<uint32_t> ssrcs;
-
- // Payload type to use for the RTX stream.
- int rtx_payload_type;
-};
-
// RTP header extension to use for the video stream, see RFC 5285.
struct RtpExtension {
static const char* kTOffset;