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

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

Issue 162333002: Cast: Rtcp and RtcpSender don't take event logs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cast Created 6 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
« no previous file with comments | « media/cast/audio_receiver/audio_receiver.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 24334ba5cbeb0a66ddaec60e869660488f37d596..3fef49cc283325828bc213789988b41cf565645e 100644
--- a/media/cast/rtcp/rtcp.h
+++ b/media/cast/rtcp/rtcp.h
@@ -29,6 +29,7 @@ namespace cast {
class LocalRtcpReceiverFeedback;
class LocalRtcpRttFeedback;
class PacedPacketSender;
+class ReceiverRtcpEventSubscriber;
class RtcpReceiver;
class RtcpSender;
@@ -94,15 +95,12 @@ class Rtcp {
void SendRtcpFromRtpSender(
const transport::RtcpSenderLogMessage& sender_log_message);
- // |cast_message| and |receiver_log| is optional; if |cast_message| is
+ // |cast_message| and |event_subscriber| is optional; if |cast_message| is
// provided the RTCP receiver report will append a Cast message containing
- // Acks and Nacks; if |receiver_log| is provided the RTCP receiver report will
- // append the log messages. If no argument is set a normal RTCP receiver
- // report will be sent. Additionally if all messages in |receiver_log| does
- // not fit in the packet the |receiver_log| will contain the remaining unsent
- // messages.
+ // Acks and Nacks; if |event_subscriber| is provided the RTCP receiver report
+ // will append the log messages from the subscriber.
void SendRtcpFromRtpReceiver(const RtcpCastMessage* cast_message,
- RtcpReceiverLogMessage* receiver_log);
+ ReceiverRtcpEventSubscriber* event_subscriber);
void IncomingRtcpPacket(const uint8* rtcp_buffer, size_t length);
bool Rtt(base::TimeDelta* rtt,
« no previous file with comments | « media/cast/audio_receiver/audio_receiver.cc ('k') | media/cast/rtcp/rtcp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698