From 8817256373838acc2889ccbd367260bb8c909321 Mon Sep 17 00:00:00 2001 From: "stefan@webrtc.org" Date: Fri, 19 Dec 2014 18:00:21 +0000 Subject: [PATCH] Fix the ramp-up-down-up test which was using ts-offset extension with the abs-send-time estimator. BUG=chromium:444023 R=pbos@webrtc.org Review URL: https://webrtc-codereview.appspot.com/34579004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7968 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/video/rampup_tests.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webrtc/video/rampup_tests.cc b/webrtc/video/rampup_tests.cc index 1d530aac5..4b26d055c 100644 --- a/webrtc/video/rampup_tests.cc +++ b/webrtc/video/rampup_tests.cc @@ -212,12 +212,12 @@ LowRateStreamObserver::LowRateStreamObserver( rtp_rtcp_.reset(RtpRtcp::CreateRtpRtcp(config)); rtp_rtcp_->SetREMBStatus(true); rtp_rtcp_->SetRTCPStatus(kRtcpNonCompound); - rtp_parser_->RegisterRtpHeaderExtension(kRtpExtensionTransmissionTimeOffset, - kTransmissionTimeOffsetExtensionId); + rtp_parser_->RegisterRtpHeaderExtension(kRtpExtensionAbsoluteSendTime, + kAbsSendTimeExtensionId); AbsoluteSendTimeRemoteBitrateEstimatorFactory rbe_factory; const uint32_t kRemoteBitrateEstimatorMinBitrateBps = 10000; remote_bitrate_estimator_.reset( - rbe_factory.Create(this, clock, kMimdControl, + rbe_factory.Create(this, clock, kAimdControl, kRemoteBitrateEstimatorMinBitrateBps)); forward_transport_config_.link_capacity_kbps = kHighBandwidthLimitBps / 1000; @@ -461,7 +461,7 @@ void RampUpTest::RunRampUpDownUpTest(size_t number_of_streams, bool rtx) { send_config_.rtp.nack.rtp_history_ms = kNackRtpHistoryMs; send_config_.rtp.extensions.push_back(RtpExtension( - RtpExtension::kTOffset, kTransmissionTimeOffsetExtensionId)); + RtpExtension::kAbsSendTime, kAbsSendTimeExtensionId)); send_config_.suspend_below_min_bitrate = true; if (rtx) { send_config_.rtp.rtx.payload_type = kSendRtxPayloadType;