TVIMedia Class Reference
Inherits from | NSObject |
---|---|
Declared in | TVIMedia.h |
audioTracks
A collection of shared audio tracks.
@property (nonatomic, copy, readonly, nonnull) NSArray<TVIAudioTrack*> *audioTracks
Declared In
TVIMedia.h
videoTracks
A collection of shared video tracks.
@property (nonatomic, copy, readonly, nonnull) NSArray<TVIVideoTrack*> *videoTracks
Declared In
TVIMedia.h
– init
Developers shouldn’t initialize this class directly.
- (null_unspecified instancetype)init
Discussion
Use the media property on TVIParticipant
.
Declared In
TVIMedia.h
– getAudioTrack:
A utility method which gets a TVIAudioTrack
by its id.
- (nullable TVIAudioTrack *)getAudioTrack:(nonnull NSString *)trackId
Parameters
trackId |
The track id. |
---|
Return Value
An instance of TVIAudioTrack
if successful, or nil
if not.
Declared In
TVIMedia.h
– getVideoTrack:
A utility method which gets a TVIVideoTrack
by its id.
- (nullable TVIVideoTrack *)getVideoTrack:(nonnull NSString *)trackId
Parameters
trackId |
The track id. |
---|
Return Value
An instance of TVIVideoTrack
if successful, or nil
if not.
Declared In
TVIMedia.h