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

Unified Diff: chrome/common/cast_messages.h

Issue 765643006: Cast: Make receiver use cast_transport (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix end2end test Created 6 years 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 2c50a3cb3043044bb236327c5d8cfc41c40dd8be..65f1f16d3223300cb379a7ecebd22c88dd2991db 100644
--- a/chrome/common/cast_messages.h
+++ b/chrome/common/cast_messages.h
@@ -81,8 +81,43 @@ IPC_STRUCT_TRAITS_BEGIN(media::cast::RtcpCastMessage)
IPC_STRUCT_TRAITS_MEMBER(missing_frames_and_packets)
IPC_STRUCT_TRAITS_END()
+IPC_STRUCT_TRAITS_BEGIN(media::cast::RtpReceiverStatistics)
+ IPC_STRUCT_TRAITS_MEMBER(fraction_lost)
+ IPC_STRUCT_TRAITS_MEMBER(cumulative_lost)
+ IPC_STRUCT_TRAITS_MEMBER(extended_high_sequence_number)
+ IPC_STRUCT_TRAITS_MEMBER(jitter)
+IPC_STRUCT_TRAITS_END()
+
+IPC_STRUCT_TRAITS_BEGIN(media::cast::RtcpEvent)
+ IPC_STRUCT_TRAITS_MEMBER(type)
+ IPC_STRUCT_TRAITS_MEMBER(timestamp)
+ IPC_STRUCT_TRAITS_MEMBER(delay_delta)
+ IPC_STRUCT_TRAITS_MEMBER(packet_id)
+IPC_STRUCT_TRAITS_END()
+
+IPC_STRUCT_TRAITS_BEGIN(media::cast::RtcpTimeData)
+ IPC_STRUCT_TRAITS_MEMBER(ntp_seconds)
+ IPC_STRUCT_TRAITS_MEMBER(ntp_fraction)
+ IPC_STRUCT_TRAITS_MEMBER(timestamp)
+IPC_STRUCT_TRAITS_END()
+
+IPC_STRUCT_TRAITS_BEGIN(media::cast::SendRtcpFromRtpReceiver_Params)
+ IPC_STRUCT_TRAITS_MEMBER(ssrc)
+ IPC_STRUCT_TRAITS_MEMBER(sender_ssrc)
+ IPC_STRUCT_TRAITS_MEMBER(time_data)
+ IPC_STRUCT_TRAITS_MEMBER(cast_message)
+ IPC_STRUCT_TRAITS_MEMBER(target_delay)
+ IPC_STRUCT_TRAITS_MEMBER(rtcp_events)
+ IPC_STRUCT_TRAITS_MEMBER(rtp_receiver_statistics)
+IPC_STRUCT_TRAITS_END()
+
+
// Cast messages sent from the browser to the renderer.
+IPC_MESSAGE_CONTROL2(CastMsg_ReceivedPacket,
+ int32 /* channel_id */,
+ media::cast::Packet /* packet */)
+
IPC_MESSAGE_CONTROL3(CastMsg_Rtt,
int32 /* channel_id */,
uint32 /* ssrc */,
@@ -140,9 +175,20 @@ IPC_MESSAGE_CONTROL3(
uint32 /* ssrc */,
uint32 /* frame_id */)
-IPC_MESSAGE_CONTROL3(
+IPC_MESSAGE_CONTROL2(
+ CastHostMsg_AddValidSsrc,
+ int32 /* channel id */,
+ uint32 /* ssrc */);
+
+IPC_MESSAGE_CONTROL2(
+ CastHostMsg_SendRtcpFromRtpReceiver,
+ int32 /* channel id */,
+ media::cast::SendRtcpFromRtpReceiver_Params /* data */);
+
+IPC_MESSAGE_CONTROL4(
CastHostMsg_New,
int32 /* channel_id */,
+ net::IPEndPoint /* local_end_point */,
net::IPEndPoint /* remote_end_point */,
base::DictionaryValue /* options */)

Powered by Google App Engine
This is Rietveld 408576698