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

Side by Side Diff: media/cast/transport/cast_transport_sender_impl.h

Issue 288103002: [Cast] EncodedAudioFrame+EncodedVideoFrame+reference_time --> EncodedFrame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 uint32 ntp_seconds, 61 uint32 ntp_seconds,
67 uint32 ntp_fraction, 62 uint32 ntp_fraction,
68 uint32 rtp_timestamp, 63 uint32 rtp_timestamp,
69 const RtcpDlrrReportBlock& dlrr, 64 const RtcpDlrrReportBlock& dlrr,
70 uint32 sending_ssrc, 65 uint32 sending_ssrc,
71 const std::string& c_name) OVERRIDE; 66 const std::string& c_name) OVERRIDE;
72 67
73 virtual void ResendPackets(bool is_audio, 68 virtual void ResendPackets(bool is_audio,
(...skipping 23 matching lines...) Expand all
97 BulkRawEventsCallback raw_events_callback_; 92 BulkRawEventsCallback raw_events_callback_;
98 93
99 DISALLOW_COPY_AND_ASSIGN(CastTransportSenderImpl); 94 DISALLOW_COPY_AND_ASSIGN(CastTransportSenderImpl);
100 }; 95 };
101 96
102 } // namespace transport 97 } // namespace transport
103 } // namespace cast 98 } // namespace cast
104 } // namespace media 99 } // namespace media
105 100
106 #endif // MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_IMPL_H_ 101 #endif // MEDIA_CAST_TRANSPORT_CAST_TRANSPORT_IMPL_H_
OLDNEW
« no previous file with comments | « media/cast/transport/cast_transport_sender.h ('k') | media/cast/transport/cast_transport_sender_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698