SKYLINKMedia Class Reference

Inherits from NSObject
Declared in SKYLINKConnection.h

Overview

@enum

– skylinkMediaID

Get the mediaID of the SkylinkMedia object.

- (nonnull NSString *)skylinkMediaID

Return Value

The mediaID

Discussion

NoDis.

Declared In

SKYLINKConnection.h

– skylinkMediaType

Get the media type.

- (SKYLINKMediaType)skylinkMediaType

Return Value

The media type

Discussion

NoDis.

Declared In

SKYLINKConnection.h

– skylinkMediaState

Gte the current media state.

- (SKYLINKMediaState)skylinkMediaState

Return Value

The media state

Discussion

NoDis.

Declared In

SKYLINKConnection.h

– skylinkPreviousMediaState

Get the previous media state.

- (SKYLINKMediaState)skylinkPreviousMediaState

Return Value

The previous media state

Discussion

NoDis.

Declared In

SKYLINKConnection.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

SKYLINKConnection.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

SKYLINKConnection.h

– skylinkVideoView

The video view contained in the media.

- (nullable UIView *)skylinkVideoView

Return Value

The video view

Discussion

NoDis.

Declared In

SKYLINKConnection.h

– isVideo

Check if this SkylinkMedia represents a video.

- (BOOL)isVideo

Return Value

If this media is a video

Discussion

NoDis.

Declared In

SKYLINKConnection.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

SKYLINKConnection.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

SKYLINKConnection.h

– getCustomVideoCapturer

Get the custom video capturer.

- (nullable RTCCameraVideoCapturer *)getCustomVideoCapturer

Return Value

The custom video capturer or nil

Discussion

NoDis.

Declared In

SKYLINKConnection.h