SKYLINKMedia Class Reference
Inherits from | NSObject |
---|---|
Declared in | SKYLINKConnection.h SKYLINKMedia.h |
– skylinkMediaID
Get the mediaID of the SkylinkMedia object.
- (nonnull NSString *)skylinkMediaID
Return Value
The mediaID
Discussion
NoDis.
Declared In
SKYLINKMedia.h
– skylinkMediaType
Get the media type.
- (SKYLINKMediaType)skylinkMediaType
Return Value
The media type
Discussion
NoDis.
Declared In
SKYLINKMedia.h
– skylinkMediaState
Gte the current media state.
- (SKYLINKMediaState)skylinkMediaState
Return Value
The media state
Discussion
NoDis.
Declared In
SKYLINKMedia.h
– skylinkPreviousMediaState
Get the previous media state.
- (SKYLINKMediaState)skylinkPreviousMediaState
Return Value
The previous media state
Discussion
NoDis.
Declared In
SKYLINKMedia.h
– skylinkVideoTrack
Get the video track if this media is an video.
- (nullable RTCVideoTrack *)skylinkVideoTrack
Return Value
The video track, if this is media is a video
Discussion
NoDis.
Declared In
SKYLINKMedia.h
– skylinkAudioTrack
Get the audio track if this media is an audio.
- (nullable RTCAudioTrack *)skylinkAudioTrack
Return Value
The audio track, if this is media is an audio
Discussion
NoDis.
Declared In
SKYLINKMedia.h
– skylinkVideoView
The video view contained in the media.
- (nullable UIView *)skylinkVideoView
Return Value
The video view
Discussion
NoDis.
Declared In
SKYLINKMedia.h
– isVideo
Check if this SkylinkMedia represents a video.
- (BOOL)isVideo
Return Value
If this media is a video
Discussion
NoDis.
Declared In
SKYLINKMedia.h
– isCustom
Check if this SkylinkMedia is a custom video.
- (BOOL)isCustom
Return Value
If this media is a custom video
Discussion
NoDis.
Declared In
SKYLINKMedia.h
– skylinkMediaMetaData
This is a decription of the local media.
- (nullable id)skylinkMediaMetaData
Return Value
The label string
Discussion
Such as camera 1, USB camera, etc.
Declared In
SKYLINKMedia.h
– getCustomVideoCapturer
Get the custom video capturer.
- (nullable RTCCameraVideoCapturer *)getCustomVideoCapturer
Return Value
The custom video capturer or nil
Discussion
NoDis.
Declared In
SKYLINKMedia.h