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

Unified Diff: media/cast/net/rtcp/rtcp_defines.cc

Issue 387933005: Cast: Refactor RTCP handling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test 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
« no previous file with comments | « media/cast/net/rtcp/rtcp_defines.h ('k') | media/cast/net/rtcp/rtcp_receiver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/net/rtcp/rtcp_defines.cc
diff --git a/media/cast/net/rtcp/rtcp_defines.cc b/media/cast/net/rtcp/rtcp_defines.cc
index 63799a92df238a64eefd1ebd1374e1ce8e8a8864..9012468c07e539b6c5d60d8ce0acba68a70f778e 100644
--- a/media/cast/net/rtcp/rtcp_defines.cc
+++ b/media/cast/net/rtcp/rtcp_defines.cc
@@ -9,17 +9,12 @@
namespace media {
namespace cast {
-RtcpCastMessage::RtcpCastMessage(uint32 media_ssrc)
- : media_ssrc_(media_ssrc), ack_frame_id_(0u), target_delay_ms_(0) {}
+RtcpCastMessage::RtcpCastMessage(uint32 ssrc)
+ : media_ssrc(ssrc), ack_frame_id(0u), target_delay_ms(0) {}
+RtcpCastMessage::RtcpCastMessage()
+ : media_ssrc(0), ack_frame_id(0u), target_delay_ms(0) {}
RtcpCastMessage::~RtcpCastMessage() {}
-void RtcpCastMessage::Copy(const RtcpCastMessage& cast_message) {
- media_ssrc_ = cast_message.media_ssrc_;
- ack_frame_id_ = cast_message.ack_frame_id_;
- target_delay_ms_ = cast_message.target_delay_ms_;
- missing_frames_and_packets_ = cast_message.missing_frames_and_packets_;
-}
-
RtcpReceiverEventLogMessage::RtcpReceiverEventLogMessage()
: type(UNKNOWN), packet_id(0u) {}
RtcpReceiverEventLogMessage::~RtcpReceiverEventLogMessage() {}
@@ -45,5 +40,8 @@ RtcpReceiverReferenceTimeReport::~RtcpReceiverReferenceTimeReport() {}
RtcpEvent::RtcpEvent() : type(UNKNOWN), packet_id(0u) {}
RtcpEvent::~RtcpEvent() {}
+RtcpRttReport::RtcpRttReport() {}
+RtcpRttReport::~RtcpRttReport() {}
+
} // namespace cast
} // namespace media
« no previous file with comments | « media/cast/net/rtcp/rtcp_defines.h ('k') | media/cast/net/rtcp/rtcp_receiver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698