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 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include "ipc/ipc_message_macros.h" | 9 #include "ipc/ipc_message_macros.h" |
10 #include "media/cast/common/rtp_time.h" | 10 #include "media/cast/common/rtp_time.h" |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 int32_t /* channel_id */, | 171 int32_t /* channel_id */, |
172 media::cast::CastTransportStatus /* status */) | 172 media::cast::CastTransportStatus /* status */) |
173 | 173 |
174 IPC_MESSAGE_CONTROL3(CastMsg_RawEvents, | 174 IPC_MESSAGE_CONTROL3(CastMsg_RawEvents, |
175 int32_t /* channel_id */, | 175 int32_t /* channel_id */, |
176 std::vector<media::cast::PacketEvent> /* packet_events */, | 176 std::vector<media::cast::PacketEvent> /* packet_events */, |
177 std::vector<media::cast::FrameEvent> /* frame_events */) | 177 std::vector<media::cast::FrameEvent> /* frame_events */) |
178 | 178 |
179 // Cast messages sent from the renderer to the browser. | 179 // Cast messages sent from the renderer to the browser. |
180 | 180 |
181 IPC_MESSAGE_CONTROL2(CastHostMsg_InitializeAudio, | 181 IPC_MESSAGE_CONTROL2(CastHostMsg_InitializeStream, |
182 int32_t /*channel_id*/, | 182 int32_t /*channel_id*/, |
183 media::cast::CastTransportRtpConfig /*config*/) | 183 media::cast::CastTransportRtpConfig /*config*/) |
184 | 184 |
185 IPC_MESSAGE_CONTROL2(CastHostMsg_InitializeVideo, | |
186 int32_t /*channel_id*/, | |
187 media::cast::CastTransportRtpConfig /*config*/) | |
188 | |
189 IPC_MESSAGE_CONTROL3(CastHostMsg_InsertFrame, | 185 IPC_MESSAGE_CONTROL3(CastHostMsg_InsertFrame, |
190 int32_t /* channel_id */, | 186 int32_t /* channel_id */, |
191 uint32_t /* ssrc */, | 187 uint32_t /* ssrc */, |
192 media::cast::EncodedFrame /* audio/video frame */) | 188 media::cast::EncodedFrame /* audio/video frame */) |
193 | 189 |
194 IPC_MESSAGE_CONTROL4(CastHostMsg_SendSenderReport, | 190 IPC_MESSAGE_CONTROL4(CastHostMsg_SendSenderReport, |
195 int32_t /* channel_id */, | 191 int32_t /* channel_id */, |
196 uint32_t /* ssrc */, | 192 uint32_t /* ssrc */, |
197 base::TimeTicks /* current_time */, | 193 base::TimeTicks /* current_time */, |
198 media::cast::RtpTimeTicks /* cur_time_as_rtp_timestamp */) | 194 media::cast::RtpTimeTicks /* cur_time_as_rtp_timestamp */) |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 int32_t /* channel id */, | 241 int32_t /* channel id */, |
246 media::cast::ReceiverRtcpEventSubscriber::RtcpEvents /* rtcp_events */) | 242 media::cast::ReceiverRtcpEventSubscriber::RtcpEvents /* rtcp_events */) |
247 | 243 |
248 IPC_MESSAGE_CONTROL2( | 244 IPC_MESSAGE_CONTROL2( |
249 CastHostMsg_AddRtpReceiverReport, | 245 CastHostMsg_AddRtpReceiverReport, |
250 int32_t /* channel id */, | 246 int32_t /* channel id */, |
251 media::cast::RtcpReportBlock /* rtp_receiver_report_block */) | 247 media::cast::RtcpReportBlock /* rtp_receiver_report_block */) |
252 | 248 |
253 IPC_MESSAGE_CONTROL1(CastHostMsg_SendRtcpFromRtpReceiver, | 249 IPC_MESSAGE_CONTROL1(CastHostMsg_SendRtcpFromRtpReceiver, |
254 int32_t /* channel id */) | 250 int32_t /* channel id */) |
OLD | NEW |