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

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

Issue 192843002: Cast:Adding signaling and infrastructure for adjustable delay (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updates Created 6 years, 9 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: media/cast/rtcp/rtcp_sender.h
diff --git a/media/cast/rtcp/rtcp_sender.h b/media/cast/rtcp/rtcp_sender.h
index ac64f9bbd7a4f261310ec67142979b9613d0eb4e..dbc93a840b1a50afa0079f5cf3c453739f8c94c2 100644
--- a/media/cast/rtcp/rtcp_sender.h
+++ b/media/cast/rtcp/rtcp_sender.h
@@ -46,23 +46,8 @@ class RtcpSender {
const transport::RtcpReportBlock* report_block,
const RtcpReceiverReferenceTimeReport* rrtr,
const RtcpCastMessage* cast_message,
- const ReceiverRtcpEventSubscriber* event_subscriber);
- enum RtcpPacketType {
- kRtcpSr = 0x0002,
- kRtcpRr = 0x0004,
- kRtcpBye = 0x0008,
- kRtcpPli = 0x0010,
- kRtcpNack = 0x0020,
- kRtcpFir = 0x0040,
- kRtcpSrReq = 0x0200,
- kRtcpDlrr = 0x0400,
- kRtcpRrtr = 0x0800,
- kRtcpRpsi = 0x8000,
- kRtcpRemb = 0x10000,
- kRtcpCast = 0x20000,
- kRtcpSenderLog = 0x40000,
- kRtcpReceiverLog = 0x80000,
- };
+ const ReceiverRtcpEventSubscriber* event_subscriber,
+ uint16 target_delay_ms);
private:
void BuildRR(const transport::RtcpReportBlock* report_block,
@@ -86,7 +71,9 @@ class RtcpSender {
void BuildRrtr(const RtcpReceiverReferenceTimeReport* rrtr,
Packet* packet) const;
- void BuildCast(const RtcpCastMessage* cast_message, Packet* packet) const;
+ void BuildCast(const RtcpCastMessage* cast_message,
+ uint16 target_delay_ms,
+ Packet* packet) const;
void BuildReceiverLog(
const ReceiverRtcpEventSubscriber::RtcpEventMultiMap& rtcp_events,

Powered by Google App Engine
This is Rietveld 408576698