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 MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_IMPL_H_ | 5 #ifndef MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_IMPL_H_ |
6 #define MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_IMPL_H_ | 6 #define MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_IMPL_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 virtual ~CastTransportSenderImpl(); | 47 virtual ~CastTransportSenderImpl(); |
48 | 48 |
49 virtual void InitializeAudio(const CastTransportAudioConfig& config) OVERRIDE; | 49 virtual void InitializeAudio(const CastTransportAudioConfig& config) OVERRIDE; |
50 | 50 |
51 virtual void InitializeVideo(const CastTransportVideoConfig& config) OVERRIDE; | 51 virtual void InitializeVideo(const CastTransportVideoConfig& config) OVERRIDE; |
52 | 52 |
53 // CastTransportSender implementation. | 53 // CastTransportSender implementation. |
54 virtual void SetPacketReceiver(const PacketReceiverCallback& packet_receiver) | 54 virtual void SetPacketReceiver(const PacketReceiverCallback& packet_receiver) |
55 OVERRIDE; | 55 OVERRIDE; |
56 | 56 |
57 virtual void InsertCodedAudioFrame(const EncodedAudioFrame* audio_frame, | 57 virtual void InsertCodedAudioFrame(const EncodedFrame& audio_frame) OVERRIDE; |
58 const base::TimeTicks& recorded_time) | 58 virtual void InsertCodedVideoFrame(const EncodedFrame& video_frame) OVERRIDE; |
59 OVERRIDE; | |
60 | |
61 virtual void InsertCodedVideoFrame(const EncodedVideoFrame* video_frame, | |
62 const base::TimeTicks& capture_time) | |
63 OVERRIDE; | |
64 | 59 |
65 virtual void SendRtcpFromRtpSender(uint32 packet_type_flags, | 60 virtual void SendRtcpFromRtpSender(uint32 packet_type_flags, |
66 const RtcpSenderInfo& sender_info, | 61 const RtcpSenderInfo& sender_info, |
67 const RtcpDlrrReportBlock& dlrr, | 62 const RtcpDlrrReportBlock& dlrr, |
68 uint32 sending_ssrc, | 63 uint32 sending_ssrc, |
69 const std::string& c_name) OVERRIDE; | 64 const std::string& c_name) OVERRIDE; |
70 | 65 |
71 virtual void ResendPackets(bool is_audio, | 66 virtual void ResendPackets(bool is_audio, |
72 const MissingFramesAndPacketsMap& missing_packets) | 67 const MissingFramesAndPacketsMap& missing_packets) |
73 OVERRIDE; | 68 OVERRIDE; |
(...skipping 27 matching lines...) Expand all Loading... |
101 BulkRawEventsCallback raw_events_callback_; | 96 BulkRawEventsCallback raw_events_callback_; |
102 | 97 |
103 DISALLOW_COPY_AND_ASSIGN(CastTransportSenderImpl); | 98 DISALLOW_COPY_AND_ASSIGN(CastTransportSenderImpl); |
104 }; | 99 }; |
105 | 100 |
106 } // namespace transport | 101 } // namespace transport |
107 } // namespace cast | 102 } // namespace cast |
108 } // namespace media | 103 } // namespace media |
109 | 104 |
110 #endif // MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_IMPL_H_ | 105 #endif // MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_IMPL_H_ |
OLD | NEW |