Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Unified Diff: media/cast/net/cast_transport_config.h

Issue 387933005: Cast: Refactor RTCP handling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ipc changes Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/cast/net/cast_transport_config.h
diff --git a/media/cast/net/cast_transport_config.h b/media/cast/net/cast_transport_config.h
index db87b8c9fc3e899fe6a1b51ee382128c32612e7d..088aa62222a63cea44347a1202aed9055f36f66e 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 &&

Powered by Google App Engine
This is Rietveld 408576698