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

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

Issue 2373053002: Move RTCPHelp::RTCPReceiveInformation inside RTCPReceiver (Closed)
Patch Set: 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
Index: webrtc/modules/rtp_rtcp/source/rtcp_receiver_help.h
diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_receiver_help.h b/webrtc/modules/rtp_rtcp/source/rtcp_receiver_help.h
index 043f3be5a1ff5045ff8639e735c585801ae57bcc..e5ed1f14ac31fc5e7d5d8d1891c36a56ffbbfc41 100644
--- a/webrtc/modules/rtp_rtcp/source/rtcp_receiver_help.h
+++ b/webrtc/modules/rtp_rtcp/source/rtcp_receiver_help.h
@@ -11,11 +11,7 @@
#ifndef WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_HELP_H_
#define WEBRTC_MODULES_RTP_RTCP_SOURCE_RTCP_RECEIVER_HELP_H_
-#include <map>
-#include <vector>
-
#include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
-#include "webrtc/modules/rtp_rtcp/source/tmmbr_help.h"
#include "webrtc/typedefs.h"
namespace webrtc {
@@ -38,38 +34,6 @@ class RTCPReportBlockInformation {
uint32_t numAverageCalcs;
};
-class RTCPReceiveInformation {
- public:
- RTCPReceiveInformation();
- ~RTCPReceiveInformation();
-
- void InsertTmmbrItem(uint32_t sender_ssrc,
- const rtcp::TmmbItem& tmmbr_item,
- int64_t current_time_ms);
-
- void GetTmmbrSet(int64_t current_time_ms,
- std::vector<rtcp::TmmbItem>* candidates);
-
- void ClearTmmbr();
-
- int64_t last_time_received_ms = 0;
-
- int32_t last_fir_sequence_number = -1;
- int64_t last_fir_request_ms = 0;
-
- bool ready_for_delete = false;
-
- std::vector<rtcp::TmmbItem> tmmbn;
-
- private:
- struct TimedTmmbrItem {
- rtcp::TmmbItem tmmbr_item;
- int64_t last_updated_ms;
- };
-
- std::map<uint32_t, TimedTmmbrItem> tmmbr_;
-};
-
} // end namespace RTCPHelp
} // namespace webrtc

Powered by Google App Engine
This is Rietveld 408576698