| 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 #ifndef CHROME_RENDERER_MEDIA_CAST_TRANSPORT_SENDER_IPC_H_ | 5 #ifndef CHROME_RENDERER_MEDIA_CAST_TRANSPORT_SENDER_IPC_H_ |
| 6 #define CHROME_RENDERER_MEDIA_CAST_TRANSPORT_SENDER_IPC_H_ | 6 #define CHROME_RENDERER_MEDIA_CAST_TRANSPORT_SENDER_IPC_H_ |
| 7 | 7 |
| 8 #include "base/message_loop/message_loop_proxy.h" | 8 #include "base/message_loop/message_loop_proxy.h" |
| 9 #include "ipc/ipc_channel_proxy.h" | 9 #include "ipc/ipc_channel_proxy.h" |
| 10 #include "media/cast/logging/logging_defines.h" | 10 #include "media/cast/logging/logging_defines.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 // media::cast::transport::CastTransportSender implementation. | 28 // media::cast::transport::CastTransportSender implementation. |
| 29 virtual void SetPacketReceiver( | 29 virtual void SetPacketReceiver( |
| 30 const media::cast::transport::PacketReceiverCallback& packet_callback) | 30 const media::cast::transport::PacketReceiverCallback& packet_callback) |
| 31 OVERRIDE; | 31 OVERRIDE; |
| 32 virtual void InitializeAudio( | 32 virtual void InitializeAudio( |
| 33 const media::cast::transport::CastTransportAudioConfig& config) OVERRIDE; | 33 const media::cast::transport::CastTransportAudioConfig& config) OVERRIDE; |
| 34 virtual void InitializeVideo( | 34 virtual void InitializeVideo( |
| 35 const media::cast::transport::CastTransportVideoConfig& config) OVERRIDE; | 35 const media::cast::transport::CastTransportVideoConfig& config) OVERRIDE; |
| 36 virtual void InsertCodedAudioFrame( | 36 virtual void InsertCodedAudioFrame( |
| 37 const media::cast::transport::EncodedAudioFrame* audio_frame, | 37 const media::cast::transport::EncodedFrame& audio_frame) OVERRIDE; |
| 38 const base::TimeTicks& recorded_time) OVERRIDE; | |
| 39 virtual void InsertCodedVideoFrame( | 38 virtual void InsertCodedVideoFrame( |
| 40 const media::cast::transport::EncodedVideoFrame* video_frame, | 39 const media::cast::transport::EncodedFrame& video_frame) OVERRIDE; |
| 41 const base::TimeTicks& capture_time) OVERRIDE; | |
| 42 virtual void SendRtcpFromRtpSender( | 40 virtual void SendRtcpFromRtpSender( |
| 43 uint32 packet_type_flags, | 41 uint32 packet_type_flags, |
| 44 uint32 ntp_seconds, | 42 uint32 ntp_seconds, |
| 45 uint32 ntp_fraction, | 43 uint32 ntp_fraction, |
| 46 uint32 rtp_timestamp, | 44 uint32 rtp_timestamp, |
| 47 const media::cast::transport::RtcpDlrrReportBlock& dlrr, | 45 const media::cast::transport::RtcpDlrrReportBlock& dlrr, |
| 48 uint32 sending_ssrc, | 46 uint32 sending_ssrc, |
| 49 const std::string& c_name) OVERRIDE; | 47 const std::string& c_name) OVERRIDE; |
| 50 virtual void ResendPackets( | 48 virtual void ResendPackets( |
| 51 bool is_audio, | 49 bool is_audio, |
| (...skipping 10 matching lines...) Expand all Loading... |
| 62 | 60 |
| 63 int32 channel_id_; | 61 int32 channel_id_; |
| 64 media::cast::transport::PacketReceiverCallback packet_callback_; | 62 media::cast::transport::PacketReceiverCallback packet_callback_; |
| 65 media::cast::transport::CastTransportStatusCallback status_callback_; | 63 media::cast::transport::CastTransportStatusCallback status_callback_; |
| 66 media::cast::transport::BulkRawEventsCallback raw_events_callback_; | 64 media::cast::transport::BulkRawEventsCallback raw_events_callback_; |
| 67 | 65 |
| 68 DISALLOW_COPY_AND_ASSIGN(CastTransportSenderIPC); | 66 DISALLOW_COPY_AND_ASSIGN(CastTransportSenderIPC); |
| 69 }; | 67 }; |
| 70 | 68 |
| 71 #endif // CHROME_RENDERER_MEDIA_CAST_TRANSPORT_SENDER_IPC_H_ | 69 #endif // CHROME_RENDERER_MEDIA_CAST_TRANSPORT_SENDER_IPC_H_ |
| OLD | NEW |