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

Side by Side Diff: webrtc/modules/rtp_rtcp/source/rtp_sender.h

Issue 2177523002: Fix issues with RestartingSendStreamPreservesRtpStatesWithRtx (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 4 years, 4 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 | « no previous file | webrtc/modules/rtp_rtcp/source/rtp_sender.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 /* 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 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 int probe_cluster_id); 366 int probe_cluster_id);
367 367
368 // Return the number of bytes sent. Note that both of these functions may 368 // Return the number of bytes sent. Note that both of these functions may
369 // return a larger value that their argument. 369 // return a larger value that their argument.
370 size_t TrySendRedundantPayloads(size_t bytes, int probe_cluster_id); 370 size_t TrySendRedundantPayloads(size_t bytes, int probe_cluster_id);
371 371
372 void BuildPaddingPacket(uint8_t* packet, 372 void BuildPaddingPacket(uint8_t* packet,
373 size_t header_length, 373 size_t header_length,
374 size_t padding_length); 374 size_t padding_length);
375 375
376 void BuildRtxPacket(uint8_t* buffer, size_t* length, 376 bool BuildRtxPacket(uint8_t* buffer, size_t* length, uint8_t* buffer_rtx);
377 uint8_t* buffer_rtx);
378 377
379 bool SendPacketToNetwork(const uint8_t* packet, 378 bool SendPacketToNetwork(const uint8_t* packet,
380 size_t size, 379 size_t size,
381 const PacketOptions& options); 380 const PacketOptions& options);
382 381
383 void UpdateDelayStatistics(int64_t capture_time_ms, int64_t now_ms); 382 void UpdateDelayStatistics(int64_t capture_time_ms, int64_t now_ms);
384 void UpdateOnSendPacket(int packet_id, 383 void UpdateOnSendPacket(int packet_id,
385 int64_t capture_time_ms, 384 int64_t capture_time_ms,
386 uint32_t ssrc); 385 uint32_t ssrc);
387 386
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 std::map<int8_t, int8_t> rtx_payload_type_map_ GUARDED_BY(send_critsect_); 496 std::map<int8_t, int8_t> rtx_payload_type_map_ GUARDED_BY(send_critsect_);
498 497
499 RateLimiter* const retransmission_rate_limiter_; 498 RateLimiter* const retransmission_rate_limiter_;
500 499
501 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender); 500 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RTPSender);
502 }; 501 };
503 502
504 } // namespace webrtc 503 } // namespace webrtc
505 504
506 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_ 505 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_SENDER_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/source/rtp_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698