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

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

Issue 1688143003: 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: check delay >= 0 Created 4 years, 9 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 2127 matching lines...) Expand 10 before | Expand all | Expand 10 after
2138 } 2138 }
2139 // RTX 2139 // RTX
2140 if (use_rtx_) { 2140 if (use_rtx_) {
2141 send_config->rtp.rtx.ssrcs.push_back(kSendRtxSsrcs[0]); 2141 send_config->rtp.rtx.ssrcs.push_back(kSendRtxSsrcs[0]);
2142 send_config->rtp.rtx.payload_type = kSendRtxPayloadType; 2142 send_config->rtp.rtx.payload_type = kSendRtxPayloadType;
2143 (*receive_configs)[0].rtp.rtx[kFakeVideoSendPayloadType].ssrc = 2143 (*receive_configs)[0].rtp.rtx[kFakeVideoSendPayloadType].ssrc =
2144 kSendRtxSsrcs[0]; 2144 kSendRtxSsrcs[0];
2145 (*receive_configs)[0].rtp.rtx[kFakeVideoSendPayloadType].payload_type = 2145 (*receive_configs)[0].rtp.rtx[kFakeVideoSendPayloadType].payload_type =
2146 kSendRtxPayloadType; 2146 kSendRtxPayloadType;
2147 } 2147 }
2148 // RTT needed for RemoteNtpTimeEstimator for the receive stream.
2149 (*receive_configs)[0].rtp.rtcp_xr.receiver_reference_time_report = true;
2148 encoder_config->content_type = 2150 encoder_config->content_type =
2149 screenshare_ ? VideoEncoderConfig::ContentType::kScreen 2151 screenshare_ ? VideoEncoderConfig::ContentType::kScreen
2150 : VideoEncoderConfig::ContentType::kRealtimeVideo; 2152 : VideoEncoderConfig::ContentType::kRealtimeVideo;
2151 } 2153 }
2152 2154
2153 void OnCallsCreated(Call* sender_call, Call* receiver_call) override { 2155 void OnCallsCreated(Call* sender_call, Call* receiver_call) override {
2154 sender_call_ = sender_call; 2156 sender_call_ = sender_call;
2155 receiver_call_ = receiver_call; 2157 receiver_call_ = receiver_call;
2156 } 2158 }
2157 2159
(...skipping 1367 matching lines...) Expand 10 before | Expand all | Expand 10 after
3525 private: 3527 private:
3526 bool video_observed_; 3528 bool video_observed_;
3527 bool audio_observed_; 3529 bool audio_observed_;
3528 SequenceNumberUnwrapper unwrapper_; 3530 SequenceNumberUnwrapper unwrapper_;
3529 std::set<int64_t> received_packet_ids_; 3531 std::set<int64_t> received_packet_ids_;
3530 } test; 3532 } test;
3531 3533
3532 RunBaseTest(&test); 3534 RunBaseTest(&test);
3533 } 3535 }
3534 } // namespace webrtc 3536 } // 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