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

Side by Side Diff: webrtc/modules/video_coding/video_coding_impl.cc

Issue 1936503002: Removed SSRC knowledge from ViEEncoder. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@move_payload_router2
Patch Set: Rebased 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
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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 sender_.SetVideoProtection(videoProtection); 145 sender_.SetVideoProtection(videoProtection);
146 return receiver_.SetVideoProtection(videoProtection, enable); 146 return receiver_.SetVideoProtection(videoProtection, enable);
147 } 147 }
148 148
149 int32_t AddVideoFrame(const VideoFrame& videoFrame, 149 int32_t AddVideoFrame(const VideoFrame& videoFrame,
150 const VideoContentMetrics* contentMetrics, 150 const VideoContentMetrics* contentMetrics,
151 const CodecSpecificInfo* codecSpecificInfo) override { 151 const CodecSpecificInfo* codecSpecificInfo) override {
152 return sender_.AddVideoFrame(videoFrame, contentMetrics, codecSpecificInfo); 152 return sender_.AddVideoFrame(videoFrame, contentMetrics, codecSpecificInfo);
153 } 153 }
154 154
155 int32_t IntraFrameRequest(int stream_index) override { 155 int32_t IntraFrameRequest(size_t stream_index) override {
156 return sender_.IntraFrameRequest(stream_index); 156 return sender_.IntraFrameRequest(stream_index);
157 } 157 }
158 158
159 int32_t EnableFrameDropper(bool enable) override { 159 int32_t EnableFrameDropper(bool enable) override {
160 return sender_.EnableFrameDropper(enable); 160 return sender_.EnableFrameDropper(enable);
161 } 161 }
162 162
163 void SuspendBelowMinBitrate() override { 163 void SuspendBelowMinBitrate() override {
164 return sender_.SuspendBelowMinBitrate(); 164 return sender_.SuspendBelowMinBitrate();
165 } 165 }
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 NackSender* nack_sender, 319 NackSender* nack_sender,
320 KeyFrameRequestSender* keyframe_request_sender) { 320 KeyFrameRequestSender* keyframe_request_sender) {
321 assert(clock); 321 assert(clock);
322 assert(event_factory); 322 assert(event_factory);
323 return new VideoCodingModuleImpl(clock, event_factory, nullptr, nullptr, 323 return new VideoCodingModuleImpl(clock, event_factory, nullptr, nullptr,
324 nack_sender, keyframe_request_sender, 324 nack_sender, keyframe_request_sender,
325 nullptr); 325 nullptr);
326 } 326 }
327 327
328 } // namespace webrtc 328 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/video_coding_impl.h ('k') | webrtc/modules/video_coding/video_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698