TWCLocalVideoTrack Class Reference
| Inherits from | TWCVideoTrack : TWCMediaTrack : NSObject |
|---|---|
| Declared in | TWCVideoTrack.h |
– initWithCapturer:
Creates a video track from a capturer.
- (nonnull instancetype)initWithCapturer:(nonnull id<TWCVideoCapturer>)capturerParameters
capturer |
A capturer which is bound to the track. |
|---|
Return Value
A video track ready to be added to the local media.
Discussion
Creates a video track from a capturer.
Declared In
TWCVideoTrack.h
enabled
Enable or disable sharing video from the track. Defaults to ‘YES’.
@property (nonatomic, assign, getter=isEnabled) BOOL enabledDiscussion
Enable or disable sharing video from the track. Defaults to ‘YES’.
Declared In
TWCVideoTrack.h
capturer
The capturer that is assosciated with this track.
@property (nonatomic, strong, readonly, nonnull) id<TWCVideoCapturer> capturerDiscussion
The capturer that is assosciated with this track.
Declared In
TWCVideoTrack.h