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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 bool VideoSuspended() const override { return sender_.VideoSuspended(); } | 190 bool VideoSuspended() const override { return sender_.VideoSuspended(); } |
191 | 191 |
192 int32_t RegisterReceiveCodec(const VideoCodec* receiveCodec, | 192 int32_t RegisterReceiveCodec(const VideoCodec* receiveCodec, |
193 int32_t numberOfCores, | 193 int32_t numberOfCores, |
194 bool requireKeyFrame) override { | 194 bool requireKeyFrame) override { |
195 return receiver_.RegisterReceiveCodec(receiveCodec, numberOfCores, | 195 return receiver_.RegisterReceiveCodec(receiveCodec, numberOfCores, |
196 requireKeyFrame); | 196 requireKeyFrame); |
197 } | 197 } |
198 | 198 |
199 void RegisterExternalDecoder(VideoDecoder* externalDecoder, | 199 void RegisterExternalDecoder(VideoDecoder* externalDecoder, |
200 uint8_t payloadType, | 200 uint8_t payloadType) override { |
201 bool internalRenderTiming) override { | 201 receiver_.RegisterExternalDecoder(externalDecoder, payloadType); |
202 receiver_.RegisterExternalDecoder(externalDecoder, payloadType, | |
203 internalRenderTiming); | |
204 } | 202 } |
205 | 203 |
206 int32_t RegisterReceiveCallback( | 204 int32_t RegisterReceiveCallback( |
207 VCMReceiveCallback* receiveCallback) override { | 205 VCMReceiveCallback* receiveCallback) override { |
208 return receiver_.RegisterReceiveCallback(receiveCallback); | 206 return receiver_.RegisterReceiveCallback(receiveCallback); |
209 } | 207 } |
210 | 208 |
211 int32_t RegisterReceiveStatisticsCallback( | 209 int32_t RegisterReceiveStatisticsCallback( |
212 VCMReceiveStatisticsCallback* receiveStats) override { | 210 VCMReceiveStatisticsCallback* receiveStats) override { |
213 return receiver_.RegisterReceiveStatisticsCallback(receiveStats); | 211 return receiver_.RegisterReceiveStatisticsCallback(receiveStats); |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 return new VideoCodingModuleImpl(clock, event_factory, false, nullptr, | 329 return new VideoCodingModuleImpl(clock, event_factory, false, nullptr, |
332 nullptr); | 330 nullptr); |
333 } | 331 } |
334 | 332 |
335 void VideoCodingModule::Destroy(VideoCodingModule* module) { | 333 void VideoCodingModule::Destroy(VideoCodingModule* module) { |
336 if (module != NULL) { | 334 if (module != NULL) { |
337 delete static_cast<VideoCodingModuleImpl*>(module); | 335 delete static_cast<VideoCodingModuleImpl*>(module); |
338 } | 336 } |
339 } | 337 } |
340 } // namespace webrtc | 338 } // namespace webrtc |
OLD | NEW |