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

Side by Side Diff: webrtc/modules/rtp_rtcp/include/rtp_rtcp.h

Issue 2628563003: Propagate packet pacing information to SenTimeHistory (Closed)
Patch Set: Rebase Created 3 years, 10 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 const uint8_t* payload_data, 242 const uint8_t* payload_data,
243 size_t payload_size, 243 size_t payload_size,
244 const RTPFragmentationHeader* fragmentation, 244 const RTPFragmentationHeader* fragmentation,
245 const RTPVideoHeader* rtp_video_header, 245 const RTPVideoHeader* rtp_video_header,
246 uint32_t* transport_frame_id_out) = 0; 246 uint32_t* transport_frame_id_out) = 0;
247 247
248 virtual bool TimeToSendPacket(uint32_t ssrc, 248 virtual bool TimeToSendPacket(uint32_t ssrc,
249 uint16_t sequence_number, 249 uint16_t sequence_number,
250 int64_t capture_time_ms, 250 int64_t capture_time_ms,
251 bool retransmission, 251 bool retransmission,
252 int probe_cluster_id) = 0; 252 const PacedPacketInfo& pacing_info) = 0;
253 253
254 virtual size_t TimeToSendPadding(size_t bytes, int probe_cluster_id) = 0; 254 virtual size_t TimeToSendPadding(size_t bytes,
255 const PacedPacketInfo& pacing_info) = 0;
255 256
256 // Called on generation of new statistics after an RTP send. 257 // Called on generation of new statistics after an RTP send.
257 virtual void RegisterSendChannelRtpStatisticsCallback( 258 virtual void RegisterSendChannelRtpStatisticsCallback(
258 StreamDataCountersCallback* callback) = 0; 259 StreamDataCountersCallback* callback) = 0;
259 virtual StreamDataCountersCallback* GetSendChannelRtpStatisticsCallback() 260 virtual StreamDataCountersCallback* GetSendChannelRtpStatisticsCallback()
260 const = 0; 261 const = 0;
261 262
262 // ************************************************************************** 263 // **************************************************************************
263 // RTCP 264 // RTCP
264 // ************************************************************************** 265 // **************************************************************************
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 virtual int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) = 0; 473 virtual int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) = 0;
473 474
474 // Sends a request for a keyframe. 475 // Sends a request for a keyframe.
475 // Returns -1 on failure else 0. 476 // Returns -1 on failure else 0.
476 virtual int32_t RequestKeyFrame() = 0; 477 virtual int32_t RequestKeyFrame() = 0;
477 }; 478 };
478 479
479 } // namespace webrtc 480 } // namespace webrtc
480 481
481 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ 482 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_
OLDNEW
« no previous file with comments | « webrtc/modules/remote_bitrate_estimator/test/packet_sender.cc ('k') | webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698