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

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

Issue 270493003: Cast: Deduplicate event types in cast library. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 7 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/rtcp/receiver_rtcp_event_subscriber_unittest.cc ('k') | media/cast/rtcp/rtcp.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/rtcp/rtcp.h
diff --git a/media/cast/rtcp/rtcp.h b/media/cast/rtcp/rtcp.h
index 15bbe1138cfe37204e240b3d98209fd3ef334fdb..52c9178acfadf18f4f7f76aefd749bbbfaf98b20 100644
--- a/media/cast/rtcp/rtcp.h
+++ b/media/cast/rtcp/rtcp.h
@@ -68,7 +68,8 @@ class Rtcp {
const base::TimeDelta& rtcp_interval,
uint32 local_ssrc,
uint32 remote_ssrc,
- const std::string& c_name);
+ const std::string& c_name,
+ bool is_audio);
virtual ~Rtcp();
@@ -111,6 +112,8 @@ class Rtcp {
// Update the target delay. Will be added to every sender report.
void SetTargetDelay(base::TimeDelta target_delay);
+ void OnReceivedReceiverLog(const RtcpReceiverLogMessage& receiver_log);
+
protected:
int CheckForWrapAround(uint32 new_timestamp, uint32 old_timestamp) const;
@@ -176,6 +179,7 @@ class Rtcp {
int number_of_rtt_in_avg_;
float avg_rtt_ms_;
uint16 target_delay_ms_;
+ bool is_audio_;
DISALLOW_COPY_AND_ASSIGN(Rtcp);
};
« no previous file with comments | « media/cast/rtcp/receiver_rtcp_event_subscriber_unittest.cc ('k') | media/cast/rtcp/rtcp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698