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

Unified Diff: media/cast/rtcp/rtcp_defines.h

Issue 23467003: Added framer to cast. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rtcp
Patch Set: Merge Created 7 years, 4 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/framer/framer_unittest.cc ('k') | media/cast/rtp_common/mock_rtp_payload_feedback.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/rtcp/rtcp_defines.h
diff --git a/media/cast/rtcp/rtcp_defines.h b/media/cast/rtcp/rtcp_defines.h
index c70ca6b8285e20ba07261367508f82501c4d72e2..102e321adaa52f5236f179ea514d1943e1f9efa6 100644
--- a/media/cast/rtcp/rtcp_defines.h
+++ b/media/cast/rtcp/rtcp_defines.h
@@ -8,7 +8,6 @@
#include <list>
#include <map>
#include <set>
-#include <vector>
#include "media/cast/cast_config.h"
#include "media/cast/cast_defines.h"
@@ -18,6 +17,9 @@ namespace cast {
const uint16 kRtcpCastAllPacketsLost = 0xffff;
+typedef std::set<uint16> PacketIdSet;
+typedef std::map<uint8, PacketIdSet> MissingFramesAndPacketsMap;
+
class RtcpCastMessage {
public:
explicit RtcpCastMessage(uint32 media_ssrc);
@@ -25,7 +27,7 @@ class RtcpCastMessage {
uint32 media_ssrc_;
uint8 ack_frame_id_;
- std::map<uint8, std::set<uint16> > missing_frames_and_packets_;
+ MissingFramesAndPacketsMap missing_frames_and_packets_;
};
struct RtcpSenderInfo {
« no previous file with comments | « media/cast/framer/framer_unittest.cc ('k') | media/cast/rtp_common/mock_rtp_payload_feedback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698