blob: dd3d1728201b76e4b0688b4714fde9d4e5b3da02 [file] [log] [blame]
Jon Hjelleca91e382016-01-21 15:36:47 -08001/*
2 * Copyright 2015 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
Anders Carlsson7bca8ca2018-08-30 09:30:29 +020011#import "RTCVideoTrack.h"
Jon Hjelleca91e382016-01-21 15:36:47 -080012
Steve Anton10542f22019-01-11 09:11:00 -080013#include "api/media_stream_interface.h"
Jon Hjelleca91e382016-01-21 15:36:47 -080014
15NS_ASSUME_NONNULL_BEGIN
16
17@interface RTCVideoTrack ()
18
19/** VideoTrackInterface created or passed in at construction. */
Yves Gerey665174f2018-06-19 15:03:05 +020020@property(nonatomic, readonly) rtc::scoped_refptr<webrtc::VideoTrackInterface> nativeVideoTrack;
Jon Hjelleca91e382016-01-21 15:36:47 -080021
Tze Kwang Chinf3cb49f2016-03-22 10:57:40 -070022/** Initialize an RTCVideoTrack with its source and an id. */
23- (instancetype)initWithFactory:(RTCPeerConnectionFactory *)factory
24 source:(RTCVideoSource *)source
25 trackId:(NSString *)trackId;
26
Jon Hjelleca91e382016-01-21 15:36:47 -080027@end
28
29NS_ASSUME_NONNULL_END