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

Unified Diff: chrome/common/cast_messages.h

Issue 174183003: Cast:Transport: Dividing A/V Initialization pipeline (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Responding to review 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
Index: chrome/common/cast_messages.h
diff --git a/chrome/common/cast_messages.h b/chrome/common/cast_messages.h
index 129c4d36576a6843ee15409109980ee9093942f6..aac1dbb7e57b84986a08b81a1de25a1aae11ef4e 100644
--- a/chrome/common/cast_messages.h
+++ b/chrome/common/cast_messages.h
@@ -64,21 +64,25 @@ IPC_STRUCT_TRAITS_BEGIN(media::cast::transport::RtpConfig)
IPC_STRUCT_TRAITS_MEMBER(payload_type)
IPC_STRUCT_TRAITS_END()
-IPC_STRUCT_TRAITS_BEGIN(media::cast::transport::CastTransportConfig)
- IPC_STRUCT_TRAITS_MEMBER(receiver_endpoint)
- IPC_STRUCT_TRAITS_MEMBER(local_endpoint)
- IPC_STRUCT_TRAITS_MEMBER(audio_ssrc)
- IPC_STRUCT_TRAITS_MEMBER(video_ssrc)
- IPC_STRUCT_TRAITS_MEMBER(video_codec)
- IPC_STRUCT_TRAITS_MEMBER(audio_codec)
- IPC_STRUCT_TRAITS_MEMBER(audio_frequency)
- IPC_STRUCT_TRAITS_MEMBER(audio_channels)
- IPC_STRUCT_TRAITS_MEMBER(audio_rtp_config)
- IPC_STRUCT_TRAITS_MEMBER(video_rtp_config)
+IPC_STRUCT_TRAITS_BEGIN(media::cast::transport::CastTransportBaseConfig)
+ IPC_STRUCT_TRAITS_MEMBER(ssrc)
+ IPC_STRUCT_TRAITS_MEMBER(rtp_config)
IPC_STRUCT_TRAITS_MEMBER(aes_key)
IPC_STRUCT_TRAITS_MEMBER(aes_iv_mask)
IPC_STRUCT_TRAITS_END()
+IPC_STRUCT_TRAITS_BEGIN(media::cast::transport::CastTransportAudioConfig)
+ IPC_STRUCT_TRAITS_MEMBER(base)
+ IPC_STRUCT_TRAITS_MEMBER(codec)
+ IPC_STRUCT_TRAITS_MEMBER(frequency)
+ IPC_STRUCT_TRAITS_MEMBER(channels)
+IPC_STRUCT_TRAITS_END()
+
+IPC_STRUCT_TRAITS_BEGIN(media::cast::transport::CastTransportVideoConfig)
+ IPC_STRUCT_TRAITS_MEMBER(base)
+ IPC_STRUCT_TRAITS_MEMBER(codec)
+IPC_STRUCT_TRAITS_END()
+
IPC_STRUCT_TRAITS_BEGIN(media::cast::transport::SendRtcpFromRtpSenderData)
IPC_STRUCT_TRAITS_MEMBER(packet_type_flags)
IPC_STRUCT_TRAITS_MEMBER(sending_ssrc)
@@ -108,6 +112,16 @@ IPC_MESSAGE_CONTROL5(
// Cast messages sent from the renderer to the browser.
+IPC_MESSAGE_CONTROL2(
+ CastHostMsg_InitializeAudio,
+ int32 /*channel_id*/,
+ media::cast::transport::CastTransportAudioConfig /*config*/)
+
+IPC_MESSAGE_CONTROL2(
+ CastHostMsg_InitializeVideo,
+ int32 /*channel_id*/,
+ media::cast::transport::CastTransportVideoConfig /*config*/)
+
IPC_MESSAGE_CONTROL3(
CastHostMsg_InsertCodedAudioFrame,
int32 /* channel_id */,
@@ -134,10 +148,11 @@ IPC_MESSAGE_CONTROL3(
bool /* is_audio */,
media::cast::MissingFramesAndPacketsMap /* missing_packets */)
-IPC_MESSAGE_CONTROL2(
+IPC_MESSAGE_CONTROL3(
CastHostMsg_New,
int32 /* channel_id */,
- media::cast::transport::CastTransportConfig /* config */);
+ net::IPEndPoint /*local_end_point*/,
+ net::IPEndPoint /*remote_end_point*/);
IPC_MESSAGE_CONTROL1(
CastHostMsg_Delete,

Powered by Google App Engine
This is Rietveld 408576698