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

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

Issue 1910423002: Revert of Update histogram "WebRTC.Video.OnewayDelayInMs" to use the estimated one-way delay. (patc… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@51
Patch Set: 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
« no previous file with comments | « webrtc/video/receive_statistics_proxy.cc ('k') | no next file » | 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) 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 10
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 382
383 int VideoReceiveStream::RenderFrame(const uint32_t /*stream_id*/, 383 int VideoReceiveStream::RenderFrame(const uint32_t /*stream_id*/,
384 const VideoFrame& video_frame) { 384 const VideoFrame& video_frame) {
385 int64_t sync_offset_ms; 385 int64_t sync_offset_ms;
386 if (vie_sync_.GetStreamSyncOffsetInMs(video_frame, &sync_offset_ms)) 386 if (vie_sync_.GetStreamSyncOffsetInMs(video_frame, &sync_offset_ms))
387 stats_proxy_.OnSyncOffsetUpdated(sync_offset_ms); 387 stats_proxy_.OnSyncOffsetUpdated(sync_offset_ms);
388 388
389 if (config_.renderer) 389 if (config_.renderer)
390 config_.renderer->OnFrame(video_frame); 390 config_.renderer->OnFrame(video_frame);
391 391
392 stats_proxy_.OnRenderedFrame(video_frame); 392 stats_proxy_.OnRenderedFrame(video_frame.width(), video_frame.height());
393 393
394 return 0; 394 return 0;
395 } 395 }
396 396
397 // TODO(asapersson): Consider moving callback from video_encoder.h or 397 // TODO(asapersson): Consider moving callback from video_encoder.h or
398 // creating a different callback. 398 // creating a different callback.
399 int32_t VideoReceiveStream::Encoded( 399 int32_t VideoReceiveStream::Encoded(
400 const EncodedImage& encoded_image, 400 const EncodedImage& encoded_image,
401 const CodecSpecificInfo* codec_specific_info, 401 const CodecSpecificInfo* codec_specific_info,
402 const RTPFragmentationHeader* fragmentation) { 402 const RTPFragmentationHeader* fragmentation) {
(...skipping 25 matching lines...) Expand all
428 const std::vector<uint16_t>& sequence_numbers) { 428 const std::vector<uint16_t>& sequence_numbers) {
429 rtp_rtcp_->SendNack(sequence_numbers); 429 rtp_rtcp_->SendNack(sequence_numbers);
430 } 430 }
431 431
432 void VideoReceiveStream::RequestKeyFrame() { 432 void VideoReceiveStream::RequestKeyFrame() {
433 rtp_rtcp_->RequestKeyFrame(); 433 rtp_rtcp_->RequestKeyFrame();
434 } 434 }
435 435
436 } // namespace internal 436 } // namespace internal
437 } // namespace webrtc 437 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/video/receive_statistics_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698