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

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

Issue 1515433002: Replace uses of raw uint32's with a type-checked RtpTimeTicks data type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Speculative workaround fix for win8_chromium_ng compile error. Created 4 years, 11 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 void InitializeAudio(const CastTransportRtpConfig& config, 99 void InitializeAudio(const CastTransportRtpConfig& config,
100 const RtcpCastMessageCallback& cast_message_cb, 100 const RtcpCastMessageCallback& cast_message_cb,
101 const RtcpRttCallback& rtt_cb) final; 101 const RtcpRttCallback& rtt_cb) final;
102 void InitializeVideo(const CastTransportRtpConfig& config, 102 void InitializeVideo(const CastTransportRtpConfig& config,
103 const RtcpCastMessageCallback& cast_message_cb, 103 const RtcpCastMessageCallback& cast_message_cb,
104 const RtcpRttCallback& rtt_cb) final; 104 const RtcpRttCallback& rtt_cb) final;
105 void InsertFrame(uint32_t ssrc, const EncodedFrame& frame) final; 105 void InsertFrame(uint32_t ssrc, const EncodedFrame& frame) final;
106 106
107 void SendSenderReport(uint32_t ssrc, 107 void SendSenderReport(uint32_t ssrc,
108 base::TimeTicks current_time, 108 base::TimeTicks current_time,
109 uint32_t current_time_as_rtp_timestamp) final; 109 RtpTimeTicks current_time_as_rtp_timestamp) final;
110 110
111 void CancelSendingFrames(uint32_t ssrc, 111 void CancelSendingFrames(uint32_t ssrc,
112 const std::vector<uint32_t>& frame_ids) final; 112 const std::vector<uint32_t>& frame_ids) final;
113 113
114 void ResendFrameForKickstart(uint32_t ssrc, uint32_t frame_id) final; 114 void ResendFrameForKickstart(uint32_t ssrc, uint32_t frame_id) final;
115 115
116 PacketReceiverCallback PacketReceiverForTesting() final; 116 PacketReceiverCallback PacketReceiverForTesting() final;
117 117
118 // CastTransportReceiver implementation. 118 // CastTransportReceiver implementation.
119 void AddValidSsrc(uint32_t ssrc) final; 119 void AddValidSsrc(uint32_t ssrc) final;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 208
209 base::WeakPtrFactory<CastTransportSenderImpl> weak_factory_; 209 base::WeakPtrFactory<CastTransportSenderImpl> weak_factory_;
210 210
211 DISALLOW_COPY_AND_ASSIGN(CastTransportSenderImpl); 211 DISALLOW_COPY_AND_ASSIGN(CastTransportSenderImpl);
212 }; 212 };
213 213
214 } // namespace cast 214 } // namespace cast
215 } // namespace media 215 } // namespace media
216 216
217 #endif // MEDIA_CAST_NET_CAST_TRANSPORT_SENDER_IMPL_H_ 217 #endif // MEDIA_CAST_NET_CAST_TRANSPORT_SENDER_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