MillicastSDK 2.2.0
|
Represents a captured instance of a media source. More...
#include <track.h>
Instance Methods | |
(NSString *) | - getId |
(NSString *) | - kind |
(BOOL) | - isEnabled |
(void) | - enable: |
(instancetype) | - initWithCppTrack: [implementation] |
(instancetype) | - initWithSource:cppTrack: [implementation] |
Properties | |
std::weak_ptr< millicast::Track > | cpp_track [implementation] |
id | source [implementation] |
Represents a captured instance of a media source.
- (void) enable: | (BOOL) | e |
Enables or disables the track. A disabled audio track produces silence. A disabled video track produces black frames.
- (NSString *) getId |
Get the track Id.
|
implementation |
|
implementation |
- (BOOL) isEnabled |
Checks whether the track is enabled or not.
- (NSString *) kind |
Get the track type.
|
readwriteatomicimplementation |
|
readwritenonatomicstrongimplementation |