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

Side by Side Diff: webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc

Issue 2032473002: Revert "Revert of Propagate probing cluster id to SendTimeHistory. (patchset #5 id:80001 of https:/… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 6 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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 rtcp_sender_.SendRTCP(GetFeedbackState(), kRtcpReport); 421 rtcp_sender_.SendRTCP(GetFeedbackState(), kRtcpReport);
422 } 422 }
423 return rtp_sender_.SendOutgoingData( 423 return rtp_sender_.SendOutgoingData(
424 frame_type, payload_type, time_stamp, capture_time_ms, payload_data, 424 frame_type, payload_type, time_stamp, capture_time_ms, payload_data,
425 payload_size, fragmentation, rtp_video_hdr); 425 payload_size, fragmentation, rtp_video_hdr);
426 } 426 }
427 427
428 bool ModuleRtpRtcpImpl::TimeToSendPacket(uint32_t ssrc, 428 bool ModuleRtpRtcpImpl::TimeToSendPacket(uint32_t ssrc,
429 uint16_t sequence_number, 429 uint16_t sequence_number,
430 int64_t capture_time_ms, 430 int64_t capture_time_ms,
431 bool retransmission) { 431 bool retransmission,
432 int probe_cluster_id) {
432 if (SendingMedia() && ssrc == rtp_sender_.SSRC()) { 433 if (SendingMedia() && ssrc == rtp_sender_.SSRC()) {
433 return rtp_sender_.TimeToSendPacket( 434 return rtp_sender_.TimeToSendPacket(sequence_number, capture_time_ms,
434 sequence_number, capture_time_ms, retransmission); 435 retransmission, probe_cluster_id);
435 } 436 }
436 // No RTP sender is interested in sending this packet. 437 // No RTP sender is interested in sending this packet.
437 return true; 438 return true;
438 } 439 }
439 440
440 size_t ModuleRtpRtcpImpl::TimeToSendPadding(size_t bytes) { 441 size_t ModuleRtpRtcpImpl::TimeToSendPadding(size_t bytes,
441 return rtp_sender_.TimeToSendPadding(bytes); 442 int probe_cluster_id) {
443 return rtp_sender_.TimeToSendPadding(bytes, probe_cluster_id);
442 } 444 }
443 445
444 uint16_t ModuleRtpRtcpImpl::MaxPayloadLength() const { 446 uint16_t ModuleRtpRtcpImpl::MaxPayloadLength() const {
445 return rtp_sender_.MaxPayloadLength(); 447 return rtp_sender_.MaxPayloadLength();
446 } 448 }
447 449
448 uint16_t ModuleRtpRtcpImpl::MaxDataPayloadLength() const { 450 uint16_t ModuleRtpRtcpImpl::MaxDataPayloadLength() const {
449 return rtp_sender_.MaxDataPayloadLength(); 451 return rtp_sender_.MaxDataPayloadLength();
450 } 452 }
451 453
(...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after
987 void ModuleRtpRtcpImpl::RegisterSendChannelRtpStatisticsCallback( 989 void ModuleRtpRtcpImpl::RegisterSendChannelRtpStatisticsCallback(
988 StreamDataCountersCallback* callback) { 990 StreamDataCountersCallback* callback) {
989 rtp_sender_.RegisterRtpStatisticsCallback(callback); 991 rtp_sender_.RegisterRtpStatisticsCallback(callback);
990 } 992 }
991 993
992 StreamDataCountersCallback* 994 StreamDataCountersCallback*
993 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const { 995 ModuleRtpRtcpImpl::GetSendChannelRtpStatisticsCallback() const {
994 return rtp_sender_.GetRtpStatisticsCallback(); 996 return rtp_sender_.GetRtpStatisticsCallback();
995 } 997 }
996 } // namespace webrtc 998 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h ('k') | webrtc/modules/rtp_rtcp/source/rtp_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698