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

Side by Side Diff: webrtc/video/end_to_end_tests.cc

Issue 1893543003: Revert of Update histogram "WebRTC.Video.OnewayDelayInMs" to use the estimated one-way delay. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 4 years, 8 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) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 #include <algorithm> 10 #include <algorithm>
(...skipping 2142 matching lines...) Expand 10 before | Expand all | Expand 10 after
2153 } 2153 }
2154 // RTX 2154 // RTX
2155 if (use_rtx_) { 2155 if (use_rtx_) {
2156 send_config->rtp.rtx.ssrcs.push_back(kSendRtxSsrcs[0]); 2156 send_config->rtp.rtx.ssrcs.push_back(kSendRtxSsrcs[0]);
2157 send_config->rtp.rtx.payload_type = kSendRtxPayloadType; 2157 send_config->rtp.rtx.payload_type = kSendRtxPayloadType;
2158 (*receive_configs)[0].rtp.rtx[kFakeVideoSendPayloadType].ssrc = 2158 (*receive_configs)[0].rtp.rtx[kFakeVideoSendPayloadType].ssrc =
2159 kSendRtxSsrcs[0]; 2159 kSendRtxSsrcs[0];
2160 (*receive_configs)[0].rtp.rtx[kFakeVideoSendPayloadType].payload_type = 2160 (*receive_configs)[0].rtp.rtx[kFakeVideoSendPayloadType].payload_type =
2161 kSendRtxPayloadType; 2161 kSendRtxPayloadType;
2162 } 2162 }
2163 // RTT needed for RemoteNtpTimeEstimator for the receive stream.
2164 (*receive_configs)[0].rtp.rtcp_xr.receiver_reference_time_report = true;
2165 encoder_config->content_type = 2163 encoder_config->content_type =
2166 screenshare_ ? VideoEncoderConfig::ContentType::kScreen 2164 screenshare_ ? VideoEncoderConfig::ContentType::kScreen
2167 : VideoEncoderConfig::ContentType::kRealtimeVideo; 2165 : VideoEncoderConfig::ContentType::kRealtimeVideo;
2168 } 2166 }
2169 2167
2170 void OnCallsCreated(Call* sender_call, Call* receiver_call) override { 2168 void OnCallsCreated(Call* sender_call, Call* receiver_call) override {
2171 sender_call_ = sender_call; 2169 sender_call_ = sender_call;
2172 receiver_call_ = receiver_call; 2170 receiver_call_ = receiver_call;
2173 } 2171 }
2174 2172
(...skipping 1433 matching lines...) Expand 10 before | Expand all | Expand 10 after
3608 private: 3606 private:
3609 bool video_observed_; 3607 bool video_observed_;
3610 bool audio_observed_; 3608 bool audio_observed_;
3611 SequenceNumberUnwrapper unwrapper_; 3609 SequenceNumberUnwrapper unwrapper_;
3612 std::set<int64_t> received_packet_ids_; 3610 std::set<int64_t> received_packet_ids_;
3613 } test; 3611 } test;
3614 3612
3615 RunBaseTest(&test); 3613 RunBaseTest(&test);
3616 } 3614 }
3617 } // namespace webrtc 3615 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc ('k') | webrtc/video/receive_statistics_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698