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

Unified Diff: webrtc/modules/rtp_rtcp/source/rtcp_receiver.h

Issue 1540383002: [rtp_rtcp] ReportBlockInformation cleaned and moved out of the rtcp_receiver_help. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 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: webrtc/modules/rtp_rtcp/source/rtcp_receiver.h
diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_receiver.h b/webrtc/modules/rtp_rtcp/source/rtcp_receiver.h
index 30677086fdd828a305cd353f54a06a7092d03251..276f47da1ffd19db7fafd329b66acadbd90272c1 100644
--- a/webrtc/modules/rtp_rtcp/source/rtcp_receiver.h
+++ b/webrtc/modules/rtp_rtcp/source/rtcp_receiver.h
@@ -17,6 +17,7 @@
#include "webrtc/base/thread_annotations.h"
#include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
+#include "webrtc/modules/rtp_rtcp/source/report_block_information.h"
#include "webrtc/modules/rtp_rtcp/source/rtcp_receiver_help.h"
#include "webrtc/modules/rtp_rtcp/source/rtcp_utility.h"
#include "webrtc/modules/rtp_rtcp/source/rtp_utility.h"
@@ -252,17 +253,18 @@ protected:
typedef std::map<uint32_t, RTCPHelp::RTCPReceiveInformation*>
ReceivedInfoMap;
// RTCP report block information mapped by remote SSRC.
- typedef std::map<uint32_t, RTCPHelp::RTCPReportBlockInformation*>
- ReportBlockInfoMap;
+ typedef std::map<uint32_t, rtcp::ReportBlockInformation*> ReportBlockInfoMap;
// RTCP report block information map mapped by source SSRC.
typedef std::map<uint32_t, ReportBlockInfoMap> ReportBlockMap;
- RTCPHelp::RTCPReportBlockInformation* CreateOrGetReportBlockInformation(
- uint32_t remote_ssrc, uint32_t source_ssrc)
- EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
- RTCPHelp::RTCPReportBlockInformation* GetReportBlockInformation(
- uint32_t remote_ssrc, uint32_t source_ssrc) const
- EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
+ rtcp::ReportBlockInformation* CreateOrGetReportBlockInformation(
+ uint32_t remote_ssrc,
+ uint32_t source_ssrc)
+ EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
+ const rtcp::ReportBlockInformation* GetReportBlockInformation(
+ uint32_t remote_ssrc,
+ uint32_t source_ssrc) const
+ EXCLUSIVE_LOCKS_REQUIRED(_criticalSectionRTCPReceiver);
Clock* const _clock;
const bool receiver_only_;
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/report_block_information_unittest.cc ('k') | webrtc/modules/rtp_rtcp/source/rtcp_receiver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698