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

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

Issue 519443002: Cast: merge InsertCoded{Audio,Video}Frame into InsertFrame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: one more missing test file fixed Created 6 years, 3 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
« no previous file with comments | « media/cast/net/cast_transport_sender.h ('k') | media/cast/net/cast_transport_sender_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // This class maintains a send transport for audio and video in a Cast 5 // This class maintains a send transport for audio and video in a Cast
6 // Streaming session. 6 // Streaming session.
7 // Audio, video frames and RTCP messages are submitted to this object 7 // Audio, video frames and RTCP messages are submitted to this object
8 // and then packetized and paced to the underlying UDP socket. 8 // and then packetized and paced to the underlying UDP socket.
9 // 9 //
10 // The hierarchy of send transport in a Cast Streaming session: 10 // The hierarchy of send transport in a Cast Streaming session:
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 PacketSender* external_transport); 65 PacketSender* external_transport);
66 66
67 virtual ~CastTransportSenderImpl(); 67 virtual ~CastTransportSenderImpl();
68 68
69 virtual void InitializeAudio(const CastTransportRtpConfig& config, 69 virtual void InitializeAudio(const CastTransportRtpConfig& config,
70 const RtcpCastMessageCallback& cast_message_cb, 70 const RtcpCastMessageCallback& cast_message_cb,
71 const RtcpRttCallback& rtt_cb) OVERRIDE; 71 const RtcpRttCallback& rtt_cb) OVERRIDE;
72 virtual void InitializeVideo(const CastTransportRtpConfig& config, 72 virtual void InitializeVideo(const CastTransportRtpConfig& config,
73 const RtcpCastMessageCallback& cast_message_cb, 73 const RtcpCastMessageCallback& cast_message_cb,
74 const RtcpRttCallback& rtt_cb) OVERRIDE; 74 const RtcpRttCallback& rtt_cb) OVERRIDE;
75 virtual void InsertCodedAudioFrame(const EncodedFrame& audio_frame) OVERRIDE; 75 virtual void InsertFrame(uint32 ssrc, const EncodedFrame& frame) OVERRIDE;
76 virtual void InsertCodedVideoFrame(const EncodedFrame& video_frame) OVERRIDE;
77 76
78 virtual void SendSenderReport( 77 virtual void SendSenderReport(
79 uint32 ssrc, 78 uint32 ssrc,
80 base::TimeTicks current_time, 79 base::TimeTicks current_time,
81 uint32 current_time_as_rtp_timestamp) OVERRIDE; 80 uint32 current_time_as_rtp_timestamp) OVERRIDE;
82 81
83 virtual void CancelSendingFrames( 82 virtual void CancelSendingFrames(
84 uint32 ssrc, 83 uint32 ssrc,
85 const std::vector<uint32>& frame_ids) OVERRIDE; 84 const std::vector<uint32>& frame_ids) OVERRIDE;
86 85
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 159
161 base::WeakPtrFactory<CastTransportSenderImpl> weak_factory_; 160 base::WeakPtrFactory<CastTransportSenderImpl> weak_factory_;
162 161
163 DISALLOW_COPY_AND_ASSIGN(CastTransportSenderImpl); 162 DISALLOW_COPY_AND_ASSIGN(CastTransportSenderImpl);
164 }; 163 };
165 164
166 } // namespace cast 165 } // namespace cast
167 } // namespace media 166 } // namespace media
168 167
169 #endif // MEDIA_CAST_NET_CAST_TRANSPORT_IMPL_H_ 168 #endif // MEDIA_CAST_NET_CAST_TRANSPORT_IMPL_H_
OLDNEW
« no previous file with comments | « media/cast/net/cast_transport_sender.h ('k') | media/cast/net/cast_transport_sender_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698