Markus Handell | e93fe6c | 2021-05-20 22:46:31 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2021 The WebRTC project authors. All Rights Reserved. |
| 3 | * |
| 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 |
| 6 | * tree. An additional intellectual property rights grant can be found |
| 7 | * in the file PATENTS. All contributing project authors may |
| 8 | * be found in the AUTHORS file in the root of the source tree. |
| 9 | */ |
| 10 | |
Markus Handell | a1b8201 | 2021-05-26 18:56:30 +0200 | [diff] [blame] | 11 | #include "pc/video_track_source_proxy.h" |
Markus Handell | e93fe6c | 2021-05-20 22:46:31 +0200 | [diff] [blame] | 12 | |
| 13 | #include "api/media_stream_interface.h" |
| 14 | #include "api/video_track_source_proxy_factory.h" |
| 15 | |
| 16 | namespace webrtc { |
| 17 | |
| 18 | rtc::scoped_refptr<VideoTrackSourceInterface> CreateVideoTrackSourceProxy( |
| 19 | rtc::Thread* signaling_thread, |
| 20 | rtc::Thread* worker_thread, |
| 21 | VideoTrackSourceInterface* source) { |
| 22 | return VideoTrackSourceProxy::Create(signaling_thread, worker_thread, source); |
| 23 | } |
| 24 | |
| 25 | } // namespace webrtc |