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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 private: | 263 private: |
264 rtc::ThreadChecker construction_thread_; | 264 rtc::ThreadChecker construction_thread_; |
265 EncodedImageCallbackWrapper post_encode_callback_; | 265 EncodedImageCallbackWrapper post_encode_callback_; |
266 vcm::VideoSender sender_; | 266 vcm::VideoSender sender_; |
267 std::unique_ptr<VideoBitrateAllocator> rate_allocator_; | 267 std::unique_ptr<VideoBitrateAllocator> rate_allocator_; |
268 std::unique_ptr<VCMTiming> timing_; | 268 std::unique_ptr<VCMTiming> timing_; |
269 vcm::VideoReceiver receiver_; | 269 vcm::VideoReceiver receiver_; |
270 }; | 270 }; |
271 } // namespace | 271 } // namespace |
272 | 272 |
273 void VideoCodingModule::Codec(VideoCodecType codecType, VideoCodec* codec) { | |
274 VCMCodecDataBase::Codec(codecType, codec); | |
275 } | |
276 | |
277 // DEPRECATED. Create method for current interface, will be removed when the | 273 // DEPRECATED. Create method for current interface, will be removed when the |
278 // new jitter buffer is in place. | 274 // new jitter buffer is in place. |
279 VideoCodingModule* VideoCodingModule::Create(Clock* clock, | 275 VideoCodingModule* VideoCodingModule::Create(Clock* clock, |
280 EventFactory* event_factory) { | 276 EventFactory* event_factory) { |
281 RTC_DCHECK(clock); | 277 RTC_DCHECK(clock); |
282 RTC_DCHECK(event_factory); | 278 RTC_DCHECK(event_factory); |
283 return new VideoCodingModuleImpl(clock, event_factory, nullptr, nullptr, | 279 return new VideoCodingModuleImpl(clock, event_factory, nullptr, nullptr, |
284 nullptr); | 280 nullptr); |
285 } | 281 } |
286 | 282 |
287 } // namespace webrtc | 283 } // namespace webrtc |
OLD | NEW |