OLD | NEW |
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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 bool VideoSuspended() const override { return sender_->VideoSuspended(); } | 196 bool VideoSuspended() const override { return sender_->VideoSuspended(); } |
197 | 197 |
198 int32_t RegisterReceiveCodec(const VideoCodec* receiveCodec, | 198 int32_t RegisterReceiveCodec(const VideoCodec* receiveCodec, |
199 int32_t numberOfCores, | 199 int32_t numberOfCores, |
200 bool requireKeyFrame) override { | 200 bool requireKeyFrame) override { |
201 return receiver_->RegisterReceiveCodec( | 201 return receiver_->RegisterReceiveCodec( |
202 receiveCodec, numberOfCores, requireKeyFrame); | 202 receiveCodec, numberOfCores, requireKeyFrame); |
203 } | 203 } |
204 | 204 |
205 int32_t RegisterExternalDecoder(VideoDecoder* externalDecoder, | 205 int32_t RegisterExternalDecoder(VideoDecoder* externalDecoder, |
206 uint8_t payloadType, | 206 uint8_t payloadType) override { |
207 bool internalRenderTiming) override { | |
208 return receiver_->RegisterExternalDecoder( | 207 return receiver_->RegisterExternalDecoder( |
209 externalDecoder, payloadType, internalRenderTiming); | 208 externalDecoder, payloadType); |
210 } | 209 } |
211 | 210 |
212 int32_t RegisterReceiveCallback( | 211 int32_t RegisterReceiveCallback( |
213 VCMReceiveCallback* receiveCallback) override { | 212 VCMReceiveCallback* receiveCallback) override { |
214 return receiver_->RegisterReceiveCallback(receiveCallback); | 213 return receiver_->RegisterReceiveCallback(receiveCallback); |
215 } | 214 } |
216 | 215 |
217 int32_t RegisterReceiveStatisticsCallback( | 216 int32_t RegisterReceiveStatisticsCallback( |
218 VCMReceiveStatisticsCallback* receiveStats) override { | 217 VCMReceiveStatisticsCallback* receiveStats) override { |
219 return receiver_->RegisterReceiveStatisticsCallback(receiveStats); | 218 return receiver_->RegisterReceiveStatisticsCallback(receiveStats); |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 return new VideoCodingModuleImpl(clock, event_factory, false, nullptr, | 353 return new VideoCodingModuleImpl(clock, event_factory, false, nullptr, |
355 nullptr); | 354 nullptr); |
356 } | 355 } |
357 | 356 |
358 void VideoCodingModule::Destroy(VideoCodingModule* module) { | 357 void VideoCodingModule::Destroy(VideoCodingModule* module) { |
359 if (module != NULL) { | 358 if (module != NULL) { |
360 delete static_cast<VideoCodingModuleImpl*>(module); | 359 delete static_cast<VideoCodingModuleImpl*>(module); |
361 } | 360 } |
362 } | 361 } |
363 } // namespace webrtc | 362 } // namespace webrtc |
OLD | NEW |