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/video_send_stream.cc

Issue 1900193004: Remove VCMPacketizationCallback (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased and fixed SendStatisics const uint. Created 4 years, 7 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/send_statistics_proxy_unittest.cc ('k') | webrtc/video/vie_encoder.h » ('j') | 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 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 &stats_proxy_, 398 &stats_proxy_,
399 &overuse_detector_) { 399 &overuse_detector_) {
400 LOG(LS_INFO) << "VideoSendStream: " << config_.ToString(); 400 LOG(LS_INFO) << "VideoSendStream: " << config_.ToString();
401 401
402 RTC_DCHECK(!config_.rtp.ssrcs.empty()); 402 RTC_DCHECK(!config_.rtp.ssrcs.empty());
403 RTC_DCHECK(module_process_thread_); 403 RTC_DCHECK(module_process_thread_);
404 RTC_DCHECK(call_stats_); 404 RTC_DCHECK(call_stats_);
405 RTC_DCHECK(congestion_controller_); 405 RTC_DCHECK(congestion_controller_);
406 RTC_DCHECK(remb_); 406 RTC_DCHECK(remb_);
407 407
408 RTC_CHECK(vie_encoder_.Init());
409 encoder_feedback_.Init(config_.rtp.ssrcs, &vie_encoder_); 408 encoder_feedback_.Init(config_.rtp.ssrcs, &vie_encoder_);
410 409
411 // RTP/RTCP initialization. 410 // RTP/RTCP initialization.
412 for (RtpRtcp* rtp_rtcp : rtp_rtcp_modules_) { 411 for (RtpRtcp* rtp_rtcp : rtp_rtcp_modules_) {
413 module_process_thread_->RegisterModule(rtp_rtcp); 412 module_process_thread_->RegisterModule(rtp_rtcp);
414 congestion_controller_->packet_router()->AddRtpModule(rtp_rtcp); 413 congestion_controller_->packet_router()->AddRtpModule(rtp_rtcp);
415 } 414 }
416 415
417 video_sender_->RegisterProtectionCallback(this); 416 video_sender_->RegisterProtectionCallback(this);
418 417
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
767 &module_nack_rate); 766 &module_nack_rate);
768 *sent_video_rate_bps += module_video_rate; 767 *sent_video_rate_bps += module_video_rate;
769 *sent_nack_rate_bps += module_nack_rate; 768 *sent_nack_rate_bps += module_nack_rate;
770 *sent_fec_rate_bps += module_fec_rate; 769 *sent_fec_rate_bps += module_fec_rate;
771 } 770 }
772 return 0; 771 return 0;
773 } 772 }
774 773
775 } // namespace internal 774 } // namespace internal
776 } // namespace webrtc 775 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/video/send_statistics_proxy_unittest.cc ('k') | webrtc/video/vie_encoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698