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

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

Issue 2354333004: RTCPReceiver store cname as std::string. (Closed)
Patch Set: Remove RTCPCnameInformation struct Created 4 years, 3 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 | « no previous file | webrtc/modules/rtp_rtcp/source/rtcp_receiver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5e3ab07814b84991f5d899b7b39a4c80d5b7dc82..0fbcdbcc6de40e0c035b01b016a566bf9dc486a2 100644
--- a/webrtc/modules/rtp_rtcp/source/rtcp_receiver.h
+++ b/webrtc/modules/rtp_rtcp/source/rtcp_receiver.h
@@ -13,6 +13,7 @@
#include <map>
#include <set>
+#include <string>
#include <vector>
#include "webrtc/base/criticalsection.h"
@@ -127,11 +128,6 @@ class RTCPReceiver {
void TriggerCallbacksFromRTCPPacket(
const PacketInformation& packet_information);
- RTCPUtility::RTCPCnameInformation* CreateCnameInformation(
- uint32_t remoteSSRC);
- RTCPUtility::RTCPCnameInformation* GetCnameInformation(
- uint32_t remoteSSRC) const;
-
RTCPHelp::RTCPReceiveInformation* CreateReceiveInformation(
uint32_t remoteSSRC);
RTCPHelp::RTCPReceiveInformation* GetReceiveInformation(uint32_t remoteSSRC);
@@ -249,7 +245,8 @@ class RTCPReceiver {
ReportBlockMap _receivedReportBlockMap
GUARDED_BY(_criticalSectionRTCPReceiver);
ReceivedInfoMap _receivedInfoMap;
- std::map<uint32_t, RTCPUtility::RTCPCnameInformation*> _receivedCnameMap;
+ std::map<uint32_t, std::string> received_cnames_
+ GUARDED_BY(_criticalSectionRTCPReceiver);
// The last time we received an RTCP RR.
int64_t _lastReceivedRrMs;
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/source/rtcp_receiver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698