diff options
Diffstat (limited to 'media/cast/net/cast_transport_config.h')
-rw-r--r-- | media/cast/net/cast_transport_config.h | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/media/cast/net/cast_transport_config.h b/media/cast/net/cast_transport_config.h index db87b8c..088aa62 100644 --- a/media/cast/net/cast_transport_config.h +++ b/media/cast/net/cast_transport_config.h @@ -18,11 +18,6 @@ namespace media { namespace cast { -enum RtcpMode { - kRtcpCompound, // Compound RTCP mode is described by RFC 4585. - kRtcpReducedSize, // Reduced-size RTCP mode is described by RFC 5506. -}; - enum Codec { CODEC_UNKNOWN, CODEC_AUDIO_OPUS, @@ -40,6 +35,12 @@ struct CastTransportRtpConfig { // Identifier refering to this sender. uint32 ssrc; + // Identifier for incoming RTCP traffic. + uint32 feedback_ssrc; + + // Identifier for this stream. + std::string c_name; + // RTP payload type enum: Specifies the type/encoding of frame data. int rtp_payload_type; @@ -172,19 +173,6 @@ struct RtcpDlrrReportBlock { uint32 delay_since_last_rr; }; -// This is only needed because IPC messages don't support more than -// 5 arguments. -struct SendRtcpFromRtpSenderData { - SendRtcpFromRtpSenderData(); - ~SendRtcpFromRtpSenderData(); - uint32 packet_type_flags; - uint32 sending_ssrc; - std::string c_name; - uint32 ntp_seconds; - uint32 ntp_fraction; - uint32 rtp_timestamp; -}; - inline bool operator==(RtcpSenderInfo lhs, RtcpSenderInfo rhs) { return lhs.ntp_seconds == rhs.ntp_seconds && lhs.ntp_fraction == rhs.ntp_fraction && |