FMIceLinkLocalMedia Class Reference

Inherits from FMIceLinkLocalMediaBase : FMIceLinkMedia : FMIceLinkMediaBase : FMIceLinkDynamic : FMIceLinkSerializable : NSObject
Conforms to *
FMIceLinkAudioTrack
FMIceLinkLocalMedia
FMIceLinkVideoTrack
Declared in FMIceLinkLocalMedia.h
FMIceLinkLocalMedia.m

Overview

A collection of local audio/video tracks.

– addAudioTrack:

Adds the audio track.
- (void)addAudioTrack:(FMIceLinkAudioTrack *)audioTrack

Parameters

audioTrack

The audio track.

Discussion

Adds the audio track.

Declared In

FMIceLinkLocalMedia.h

– addOnAudioStarted:

Adds a handler that is raised when the first audio track is started.
- (void)addOnAudioStarted:(FMIceLinkAction0 *)value

Discussion

Adds a handler that is raised when the first audio track is started.

Declared In

FMIceLinkLocalMedia.h

– addOnAudioStopped:

Adds a handler that is raised when the first audio track is stopped.
- (void)addOnAudioStopped:(FMIceLinkAction0 *)value

Discussion

Adds a handler that is raised when the first audio track is stopped.

Declared In

FMIceLinkLocalMedia.h

– addOnVideoStarted:

Adds a handler that is raised when the first video track is started.
- (void)addOnVideoStarted:(FMIceLinkAction0 *)value

Discussion

Adds a handler that is raised when the first video track is started.

Declared In

FMIceLinkLocalMedia.h

– addOnVideoStopped:

Adds a handler that is raised when the first video track is stopped.
- (void)addOnVideoStopped:(FMIceLinkAction0 *)value

Discussion

Adds a handler that is raised when the first video track is stopped.

Declared In

FMIceLinkLocalMedia.h

– addVideoTrack:

Adds the video track.
- (void)addVideoTrack:(FMIceLinkVideoTrack *)videoTrack

Parameters

videoTrack

The video track.

Discussion

Adds the video track.

Declared In

FMIceLinkLocalMedia.h

– arrayFromAudioTracks:

Creates an array of tracks from a list of audio tracks.
- (NSMutableArray *)arrayFromAudioTracks:(NSMutableArray<FMIceLinkAudioTrack*> *)tracks

Parameters

tracks

The list of tracks.

Discussion

Creates an array of tracks from a list of audio tracks.

Declared In

FMIceLinkLocalMedia.h

– arrayFromVideoTracks:

Creates an array of tracks from a list of video tracks.
- (NSMutableArray *)arrayFromVideoTracks:(NSMutableArray<FMIceLinkVideoTrack*> *)tracks

Parameters

tracks

The list of tracks.

Discussion

Creates an array of tracks from a list of video tracks.

Declared In

FMIceLinkLocalMedia.h

– audioSource

Gets the audio source.
- (FMIceLinkAudioSource *)audioSource

Discussion

Gets the audio source.

Declared In

FMIceLinkLocalMedia.h

– audioSourceInput

Gets the current audio source input of the first audio track.
- (FMIceLinkSourceInput *)audioSourceInput

Discussion

Gets the current audio source input of the first audio track.

Declared In

FMIceLinkLocalMedia.h

– audioSources

Gets the audio sources.
- (NSMutableArray *)audioSources

Discussion

Gets the audio sources.

Declared In

FMIceLinkLocalMedia.h

– changeAudioSourceInput:

Changes the audio source input of the first audio track while the media is active.
- (FMIceLinkFuture<id> *)changeAudioSourceInput:(FMIceLinkSourceInput *)audioSourceInput

Parameters

audioSourceInput

The audio source input. @return

Discussion

Changes the audio source input of the first audio track while the media is active.

Declared In

FMIceLinkLocalMedia.h

– changeVideoSourceInput:

Changes the video source input of the first video track while the media is active.
- (FMIceLinkFuture<id> *)changeVideoSourceInput:(FMIceLinkSourceInput *)videoSourceInput

Parameters

videoSourceInput

The video source input. @return

Discussion

Changes the video source input of the first video track while the media is active.

Declared In

FMIceLinkLocalMedia.h

– createAudioTrackCollection

Creates an audio track collection.

@return

- (NSMutableArray<FMIceLinkAudioTrack*> *)createAudioTrackCollection

Discussion

Creates an audio track collection.

@return

Declared In

FMIceLinkLocalMedia.h

– createVideoTrackCollection

Creates a video track collection.

@return

- (NSMutableArray<FMIceLinkVideoTrack*> *)createVideoTrackCollection

Discussion

Creates a video track collection.

@return

Declared In

FMIceLinkLocalMedia.h

– doStart

Starts the local media.

@return

- (FMIceLinkFuture<FMIceLinkLocalMedia*> *)doStart

Discussion

Starts the local media.

@return

Declared In

FMIceLinkLocalMedia.h

– doStop

Stops the local media.

@return

- (FMIceLinkFuture<FMIceLinkLocalMedia*> *)doStop

Discussion

Stops the local media.

@return

Declared In

FMIceLinkLocalMedia.h

– getAudioSourceInputs

Gets the available audio source inputs of the first audio track.

@return A future with an array of audio source inputs.

- (FMIceLinkFuture<NSMutableArray*> *)getAudioSourceInputs

Discussion

Gets the available audio source inputs of the first audio track.

@return A future with an array of audio source inputs.

Declared In

FMIceLinkLocalMedia.h

– getVideoSourceInputs

Gets the available video source inputs of the first video track.

@return A future with an array of video source inputs.

- (FMIceLinkFuture<NSMutableArray*> *)getVideoSourceInputs

Discussion

Gets the available video source inputs of the first video track.

@return A future with an array of video source inputs.

Declared In

FMIceLinkLocalMedia.h

– init

Initializes a new instance of the FMIceLinkLocalMediaBase`3 class.
- (instancetype)init

Discussion

Initializes a new instance of the FMIceLinkLocalMediaBase`3 class.

Declared In

FMIceLinkLocalMediaBase.h

– mediaSources

Gets the audio/video sources.
- (NSMutableArray *)mediaSources

Discussion

Gets the audio/video sources.

Declared In

FMIceLinkLocalMedia.h

– removeAudioTrack:

Removes the audio track.
- (bool)removeAudioTrack:(FMIceLinkAudioTrack *)audioTrack

Parameters

audioTrack

The audio track. @return

Discussion

Removes the audio track.

Declared In

FMIceLinkLocalMedia.h

– removeOnAudioStarted:

Removes a handler that is raised when the first audio track is started.
- (void)removeOnAudioStarted:(FMIceLinkAction0 *)value

Discussion

Removes a handler that is raised when the first audio track is started.

Declared In

FMIceLinkLocalMedia.h

– removeOnAudioStopped:

Removes a handler that is raised when the first audio track is stopped.
- (void)removeOnAudioStopped:(FMIceLinkAction0 *)value

Discussion

Removes a handler that is raised when the first audio track is stopped.

Declared In

FMIceLinkLocalMedia.h

– removeOnVideoStarted:

Removes a handler that is raised when the first video track is started.
- (void)removeOnVideoStarted:(FMIceLinkAction0 *)value

Discussion

Removes a handler that is raised when the first video track is started.

Declared In

FMIceLinkLocalMedia.h

– removeOnVideoStopped:

Removes a handler that is raised when the first video track is stopped.
- (void)removeOnVideoStopped:(FMIceLinkAction0 *)value

Discussion

Removes a handler that is raised when the first video track is stopped.

Declared In

FMIceLinkLocalMedia.h

– removeVideoTrack:

Removes the video track.
- (bool)removeVideoTrack:(FMIceLinkVideoTrack *)videoTrack

Parameters

videoTrack

The video track. @return

Discussion

Removes the video track.

Declared In

FMIceLinkLocalMedia.h

– setAudioSourceInput:

Sets the current audio source input of the first audio track.
- (void)setAudioSourceInput:(FMIceLinkSourceInput *)value

Discussion

Sets the current audio source input of the first audio track.

Declared In

FMIceLinkLocalMedia.h

– setVideoSourceInput:

Sets the current video source input of the first video track.
- (void)setVideoSourceInput:(FMIceLinkSourceInput *)value

Discussion

Sets the current video source input of the first video track.

Declared In

FMIceLinkLocalMedia.h

– videoSource

Gets the video source.
- (FMIceLinkVideoSource *)videoSource

Discussion

Gets the video source.

Declared In

FMIceLinkLocalMedia.h

– videoSourceInput

Gets the current video source input of the first video track.
- (FMIceLinkSourceInput *)videoSourceInput

Discussion

Gets the current video source input of the first video track.

Declared In

FMIceLinkLocalMedia.h

– videoSources

Gets the video sources.
- (NSMutableArray *)videoSources

Discussion

Gets the video sources.

Declared In

FMIceLinkLocalMedia.h