| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // IPC messages for the Cast transport API. | 5 // IPC messages for the Cast transport API. |
| 6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
| 7 | 7 |
| 8 #include "ipc/ipc_message_macros.h" | 8 #include "ipc/ipc_message_macros.h" |
| 9 #include "media/cast/cast_sender.h" | 9 #include "media/cast/cast_sender.h" |
| 10 #include "media/cast/logging/logging_defines.h" | 10 #include "media/cast/logging/logging_defines.h" |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 IPC_STRUCT_TRAITS_MEMBER(last_rr) | 56 IPC_STRUCT_TRAITS_MEMBER(last_rr) |
| 57 IPC_STRUCT_TRAITS_MEMBER(delay_since_last_rr) | 57 IPC_STRUCT_TRAITS_MEMBER(delay_since_last_rr) |
| 58 IPC_STRUCT_TRAITS_END() | 58 IPC_STRUCT_TRAITS_END() |
| 59 | 59 |
| 60 IPC_STRUCT_TRAITS_BEGIN(media::cast::transport::RtcpSenderFrameLogMessage) | 60 IPC_STRUCT_TRAITS_BEGIN(media::cast::transport::RtcpSenderFrameLogMessage) |
| 61 IPC_STRUCT_TRAITS_MEMBER(frame_status) | 61 IPC_STRUCT_TRAITS_MEMBER(frame_status) |
| 62 IPC_STRUCT_TRAITS_MEMBER(rtp_timestamp) | 62 IPC_STRUCT_TRAITS_MEMBER(rtp_timestamp) |
| 63 IPC_STRUCT_TRAITS_END() | 63 IPC_STRUCT_TRAITS_END() |
| 64 | 64 |
| 65 IPC_STRUCT_TRAITS_BEGIN(media::cast::transport::RtpConfig) | 65 IPC_STRUCT_TRAITS_BEGIN(media::cast::transport::RtpConfig) |
| 66 IPC_STRUCT_TRAITS_MEMBER(history_ms) | 66 IPC_STRUCT_TRAITS_MEMBER(ssrc) |
| 67 IPC_STRUCT_TRAITS_MEMBER(max_delay_ms) | 67 IPC_STRUCT_TRAITS_MEMBER(max_delay_ms) |
| 68 IPC_STRUCT_TRAITS_MEMBER(payload_type) | 68 IPC_STRUCT_TRAITS_MEMBER(payload_type) |
| 69 IPC_STRUCT_TRAITS_END() | |
| 70 | |
| 71 IPC_STRUCT_TRAITS_BEGIN(media::cast::transport::CastTransportBaseConfig) | |
| 72 IPC_STRUCT_TRAITS_MEMBER(ssrc) | |
| 73 IPC_STRUCT_TRAITS_MEMBER(rtp_config) | |
| 74 IPC_STRUCT_TRAITS_MEMBER(aes_key) | 69 IPC_STRUCT_TRAITS_MEMBER(aes_key) |
| 75 IPC_STRUCT_TRAITS_MEMBER(aes_iv_mask) | 70 IPC_STRUCT_TRAITS_MEMBER(aes_iv_mask) |
| 76 IPC_STRUCT_TRAITS_END() | 71 IPC_STRUCT_TRAITS_END() |
| 77 | 72 |
| 73 IPC_STRUCT_TRAITS_BEGIN(media::cast::transport::TransportRtpConfig) |
| 74 IPC_STRUCT_TRAITS_MEMBER(config) |
| 75 IPC_STRUCT_TRAITS_MEMBER(max_outstanding_frames) |
| 76 IPC_STRUCT_TRAITS_END() |
| 77 |
| 78 IPC_STRUCT_TRAITS_BEGIN(media::cast::transport::CastTransportAudioConfig) | 78 IPC_STRUCT_TRAITS_BEGIN(media::cast::transport::CastTransportAudioConfig) |
| 79 IPC_STRUCT_TRAITS_MEMBER(base) | 79 IPC_STRUCT_TRAITS_MEMBER(rtp) |
| 80 IPC_STRUCT_TRAITS_MEMBER(codec) | 80 IPC_STRUCT_TRAITS_MEMBER(codec) |
| 81 IPC_STRUCT_TRAITS_MEMBER(frequency) | 81 IPC_STRUCT_TRAITS_MEMBER(frequency) |
| 82 IPC_STRUCT_TRAITS_MEMBER(channels) | 82 IPC_STRUCT_TRAITS_MEMBER(channels) |
| 83 IPC_STRUCT_TRAITS_END() | 83 IPC_STRUCT_TRAITS_END() |
| 84 | 84 |
| 85 IPC_STRUCT_TRAITS_BEGIN(media::cast::transport::CastTransportVideoConfig) | 85 IPC_STRUCT_TRAITS_BEGIN(media::cast::transport::CastTransportVideoConfig) |
| 86 IPC_STRUCT_TRAITS_MEMBER(base) | 86 IPC_STRUCT_TRAITS_MEMBER(rtp) |
| 87 IPC_STRUCT_TRAITS_MEMBER(codec) | 87 IPC_STRUCT_TRAITS_MEMBER(codec) |
| 88 IPC_STRUCT_TRAITS_END() | 88 IPC_STRUCT_TRAITS_END() |
| 89 | 89 |
| 90 IPC_STRUCT_TRAITS_BEGIN(media::cast::transport::SendRtcpFromRtpSenderData) | 90 IPC_STRUCT_TRAITS_BEGIN(media::cast::transport::SendRtcpFromRtpSenderData) |
| 91 IPC_STRUCT_TRAITS_MEMBER(packet_type_flags) | 91 IPC_STRUCT_TRAITS_MEMBER(packet_type_flags) |
| 92 IPC_STRUCT_TRAITS_MEMBER(sending_ssrc) | 92 IPC_STRUCT_TRAITS_MEMBER(sending_ssrc) |
| 93 IPC_STRUCT_TRAITS_MEMBER(c_name) | 93 IPC_STRUCT_TRAITS_MEMBER(c_name) |
| 94 IPC_STRUCT_TRAITS_END() | 94 IPC_STRUCT_TRAITS_END() |
| 95 | 95 |
| 96 IPC_STRUCT_TRAITS_BEGIN(media::cast::PacketEvent) | 96 IPC_STRUCT_TRAITS_BEGIN(media::cast::PacketEvent) |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 media::cast::MissingFramesAndPacketsMap /* missing_packets */) | 165 media::cast::MissingFramesAndPacketsMap /* missing_packets */) |
| 166 | 166 |
| 167 IPC_MESSAGE_CONTROL2( | 167 IPC_MESSAGE_CONTROL2( |
| 168 CastHostMsg_New, | 168 CastHostMsg_New, |
| 169 int32 /* channel_id */, | 169 int32 /* channel_id */, |
| 170 net::IPEndPoint /*remote_end_point*/); | 170 net::IPEndPoint /*remote_end_point*/); |
| 171 | 171 |
| 172 IPC_MESSAGE_CONTROL1( | 172 IPC_MESSAGE_CONTROL1( |
| 173 CastHostMsg_Delete, | 173 CastHostMsg_Delete, |
| 174 int32 /* channel_id */); | 174 int32 /* channel_id */); |
| OLD | NEW |