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

Side by Side Diff: webrtc/modules/rtp_rtcp/source/rtp_sender_video.cc

Issue 2218153002: Remove RTPSenderInterface (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 4 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/modules/rtp_rtcp/source/rtp_sender_video.h ('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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 12 matching lines...) Expand all
23 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" 23 #include "webrtc/modules/rtp_rtcp/source/byte_io.h"
24 #include "webrtc/modules/rtp_rtcp/source/producer_fec.h" 24 #include "webrtc/modules/rtp_rtcp/source/producer_fec.h"
25 #include "webrtc/modules/rtp_rtcp/source/rtp_format_video_generic.h" 25 #include "webrtc/modules/rtp_rtcp/source/rtp_format_video_generic.h"
26 #include "webrtc/modules/rtp_rtcp/source/rtp_format_vp8.h" 26 #include "webrtc/modules/rtp_rtcp/source/rtp_format_vp8.h"
27 #include "webrtc/modules/rtp_rtcp/source/rtp_format_vp9.h" 27 #include "webrtc/modules/rtp_rtcp/source/rtp_format_vp9.h"
28 28
29 namespace webrtc { 29 namespace webrtc {
30 30
31 enum { REDForFECHeaderLength = 1 }; 31 enum { REDForFECHeaderLength = 1 };
32 32
33 RTPSenderVideo::RTPSenderVideo(Clock* clock, RTPSenderInterface* rtp_sender) 33 RTPSenderVideo::RTPSenderVideo(Clock* clock, RTPSender* rtp_sender)
34 : rtp_sender_(rtp_sender), 34 : rtp_sender_(rtp_sender),
35 clock_(clock), 35 clock_(clock),
36 // Generic FEC 36 // Generic FEC
37 producer_fec_(&fec_), 37 producer_fec_(&fec_),
38 fec_bitrate_(1000, RateStatistics::kBpsScale), 38 fec_bitrate_(1000, RateStatistics::kBpsScale),
39 video_bitrate_(1000, RateStatistics::kBpsScale) {} 39 video_bitrate_(1000, RateStatistics::kBpsScale) {}
40 40
41 RTPSenderVideo::~RTPSenderVideo() {} 41 RTPSenderVideo::~RTPSenderVideo() {}
42 42
43 void RTPSenderVideo::SetVideoCodecType(RtpVideoCodecTypes video_type) { 43 void RTPSenderVideo::SetVideoCodecType(RtpVideoCodecTypes video_type) {
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 rtc::CritScope cs(&crit_); 340 rtc::CritScope cs(&crit_);
341 return retransmission_settings_; 341 return retransmission_settings_;
342 } 342 }
343 343
344 void RTPSenderVideo::SetSelectiveRetransmissions(uint8_t settings) { 344 void RTPSenderVideo::SetSelectiveRetransmissions(uint8_t settings) {
345 rtc::CritScope cs(&crit_); 345 rtc::CritScope cs(&crit_);
346 retransmission_settings_ = settings; 346 retransmission_settings_ = settings;
347 } 347 }
348 348
349 } // namespace webrtc 349 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_sender_video.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698