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

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: Fix unittest. 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 sender_.SetVideoProtection(videoProtection); 154 sender_.SetVideoProtection(videoProtection);
155 return receiver_.SetVideoProtection(videoProtection, enable); 155 return receiver_.SetVideoProtection(videoProtection, enable);
156 } 156 }
157 157
158 int32_t AddVideoFrame(const VideoFrame& videoFrame, 158 int32_t AddVideoFrame(const VideoFrame& videoFrame,
159 const VideoContentMetrics* contentMetrics, 159 const VideoContentMetrics* contentMetrics,
160 const CodecSpecificInfo* codecSpecificInfo) override { 160 const CodecSpecificInfo* codecSpecificInfo) override {
161 return sender_.AddVideoFrame(videoFrame, contentMetrics, codecSpecificInfo); 161 return sender_.AddVideoFrame(videoFrame, contentMetrics, codecSpecificInfo);
162 } 162 }
163 163
164 int32_t IntraFrameRequest(int stream_index) override { 164 int32_t IntraFrameRequest(size_t stream_index) override {
165 return sender_.IntraFrameRequest(stream_index); 165 return sender_.IntraFrameRequest(stream_index);
166 } 166 }
167 167
168 int32_t EnableFrameDropper(bool enable) override { 168 int32_t EnableFrameDropper(bool enable) override {
169 return sender_.EnableFrameDropper(enable); 169 return sender_.EnableFrameDropper(enable);
170 } 170 }
171 171
172 void SuspendBelowMinBitrate() override { 172 void SuspendBelowMinBitrate() override {
173 return sender_.SuspendBelowMinBitrate(); 173 return sender_.SuspendBelowMinBitrate();
174 } 174 }
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 NackSender* nack_sender, 333 NackSender* nack_sender,
334 KeyFrameRequestSender* keyframe_request_sender) { 334 KeyFrameRequestSender* keyframe_request_sender) {
335 assert(clock); 335 assert(clock);
336 assert(event_factory); 336 assert(event_factory);
337 return new VideoCodingModuleImpl(clock, event_factory, nullptr, nullptr, 337 return new VideoCodingModuleImpl(clock, event_factory, nullptr, nullptr,
338 nack_sender, keyframe_request_sender, 338 nack_sender, keyframe_request_sender,
339 nullptr); 339 nullptr);
340 } 340 }
341 341
342 } // namespace webrtc 342 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698