TVIMedia Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | TVIMedia.h |
audioTracks
A collection of shared audio tracks.
@property (nonatomic, copy, readonly, nonnull) NSArray<TVIAudioTrack*> *audioTracksDeclared In
TVIMedia.h
videoTracks
A collection of shared video tracks.
@property (nonatomic, copy, readonly, nonnull) NSArray<TVIVideoTrack*> *videoTracksDeclared In
TVIMedia.h
– init
Developers shouldn’t initialize this class directly.
- (null_unspecified instancetype)initDiscussion
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 *)trackIdParameters
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 *)trackIdParameters
trackId |
The track id. |
|---|
Return Value
An instance of TVIVideoTrack if successful, or nil if not.
Declared In
TVIMedia.h