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

Unified Diff: chrome/common/cast_messages.h

Issue 281453003: Cast: Simplify code path for RTCP sender report (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged 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
Index: chrome/common/cast_messages.h
diff --git a/chrome/common/cast_messages.h b/chrome/common/cast_messages.h
index a3276ab643f1ef3494bf9d2a9960aebcb532946d..14c9322d7b7adb6512e726272004bc6c1b0ab35f 100644
--- a/chrome/common/cast_messages.h
+++ b/chrome/common/cast_messages.h
@@ -44,14 +44,6 @@ IPC_STRUCT_TRAITS_BEGIN(media::cast::transport::EncodedVideoFrame)
IPC_STRUCT_TRAITS_MEMBER(data)
IPC_STRUCT_TRAITS_END()
-IPC_STRUCT_TRAITS_BEGIN(media::cast::transport::RtcpSenderInfo)
- IPC_STRUCT_TRAITS_MEMBER(ntp_seconds)
- IPC_STRUCT_TRAITS_MEMBER(ntp_fraction)
- IPC_STRUCT_TRAITS_MEMBER(rtp_timestamp)
- IPC_STRUCT_TRAITS_MEMBER(send_packet_count)
- IPC_STRUCT_TRAITS_MEMBER(send_octet_count)
-IPC_STRUCT_TRAITS_END()
-
IPC_STRUCT_TRAITS_BEGIN(media::cast::transport::RtcpDlrrReportBlock)
IPC_STRUCT_TRAITS_MEMBER(last_rr)
IPC_STRUCT_TRAITS_MEMBER(delay_since_last_rr)
@@ -86,6 +78,9 @@ IPC_STRUCT_TRAITS_BEGIN(media::cast::transport::SendRtcpFromRtpSenderData)
IPC_STRUCT_TRAITS_MEMBER(packet_type_flags)
IPC_STRUCT_TRAITS_MEMBER(sending_ssrc)
IPC_STRUCT_TRAITS_MEMBER(c_name)
+ IPC_STRUCT_TRAITS_MEMBER(ntp_seconds)
+ IPC_STRUCT_TRAITS_MEMBER(ntp_fraction)
+ IPC_STRUCT_TRAITS_MEMBER(rtp_timestamp)
IPC_STRUCT_TRAITS_END()
IPC_STRUCT_TRAITS_BEGIN(media::cast::PacketEvent)
@@ -110,14 +105,6 @@ IPC_MESSAGE_CONTROL2(
int32 /* channel_id */,
media::cast::transport::CastTransportStatus /* status */);
-IPC_MESSAGE_CONTROL5(
- CastMsg_RtpStatistics,
- int32 /* channel_id */,
- bool /* audio */,
- media::cast::transport::RtcpSenderInfo /* sender_info */,
- base::TimeTicks /* time_sent */,
- uint32 /* rtp_timestamp */);
-
IPC_MESSAGE_CONTROL2(CastMsg_RawEvents,
int32 /* channel_id */,
std::vector<media::cast::PacketEvent> /* packet_events */);
@@ -146,11 +133,10 @@ IPC_MESSAGE_CONTROL3(
media::cast::transport::EncodedVideoFrame /* video_frame */,
base::TimeTicks /* recorded_time */)
-IPC_MESSAGE_CONTROL4(
+IPC_MESSAGE_CONTROL3(
CastHostMsg_SendRtcpFromRtpSender,
int32 /* channel_id */,
- media::cast::transport::SendRtcpFromRtpSenderData /* flags, ssrc, name */,
- media::cast::transport::RtcpSenderInfo /* sender_info */,
+ media::cast::transport::SendRtcpFromRtpSenderData /* data */,
media::cast::transport::RtcpDlrrReportBlock /* dlrr */)
IPC_MESSAGE_CONTROL3(
« no previous file with comments | « chrome/browser/media/cast_transport_host_filter_unittest.cc ('k') | chrome/renderer/media/cast_ipc_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698