FMIceLinkIMediaTrack Protocol Reference

Declared in FMIceLinkIMediaTrack.h

Overview

Media track interface.

– addOnDestroyed: required method

Adds a handler that is raised when the track is destroyed.
- (void)addOnDestroyed:(FMIceLinkAction0 *)value

Discussion

Adds a handler that is raised when the track is destroyed.

Declared In

FMIceLinkIMediaTrack.h

– addOnStarted: required method

Adds a handler that is raised when the track is started. Only applicable for local media tracks.
- (void)addOnStarted:(FMIceLinkAction0 *)value

Discussion

Adds a handler that is raised when the track is started. Only applicable for local media tracks.

Declared In

FMIceLinkIMediaTrack.h

– addOnStopped: required method

Adds a handler that is raised when the track is stopped. Only applicable for local media tracks.
- (void)addOnStopped:(FMIceLinkAction0 *)value

Discussion

Adds a handler that is raised when the track is stopped. Only applicable for local media tracks.

Declared In

FMIceLinkIMediaTrack.h

– changeSinkOutput: required method

Changes the sink output while the media track is active.
- (FMIceLinkFuture *)changeSinkOutput:(FMIceLinkSinkOutput *)sinkOutput

Parameters

sinkOutput

The sink output. @return

Discussion

Changes the sink output while the media track is active.

Declared In

FMIceLinkIMediaTrack.h

– changeSourceInput: required method

Changes the source input while the media track is active.
- (FMIceLinkFuture *)changeSourceInput:(FMIceLinkSourceInput *)sourceInput

Parameters

sourceInput

The source input. @return

Discussion

Changes the source input while the media track is active.

Declared In

FMIceLinkIMediaTrack.h

– destroy required method

Destroys this media track.
- (bool)destroy

Discussion

Destroys this media track.

Declared In

FMIceLinkIMediaTrack.h

– getSinkOutputs required method

Gets the available sink outputs.

@return A future with an array of sink outputs.

- (FMIceLinkFuture *)getSinkOutputs

Discussion

Gets the available sink outputs.

@return A future with an array of sink outputs.

Declared In

FMIceLinkIMediaTrack.h

– getSourceInputs required method

Gets the available source inputs.

@return A future with an array of source inputs.

- (FMIceLinkFuture *)getSourceInputs

Discussion

Gets the available source inputs.

@return A future with an array of source inputs.

Declared In

FMIceLinkIMediaTrack.h

– muted required method

Gets a value indicating whether this track is muted.
- (bool)muted

Discussion

Gets a value indicating whether this track is muted.

Declared In

FMIceLinkIMediaTrack.h

– removeOnDestroyed: required method

Removes a handler that is raised when the track is destroyed.
- (void)removeOnDestroyed:(FMIceLinkAction0 *)value

Discussion

Removes a handler that is raised when the track is destroyed.

Declared In

FMIceLinkIMediaTrack.h

– removeOnStarted: required method

Removes a handler that is raised when the track is started. Only applicable for local media tracks.
- (void)removeOnStarted:(FMIceLinkAction0 *)value

Discussion

Removes a handler that is raised when the track is started. Only applicable for local media tracks.

Declared In

FMIceLinkIMediaTrack.h

– removeOnStopped: required method

Removes a handler that is raised when the track is stopped. Only applicable for local media tracks.
- (void)removeOnStopped:(FMIceLinkAction0 *)value

Discussion

Removes a handler that is raised when the track is stopped. Only applicable for local media tracks.

Declared In

FMIceLinkIMediaTrack.h

– setMuted: required method

Sets a value indicating whether this track is [muted](#//api/name/muted).
- (void)setMuted:(bool)value

Discussion

Sets a value indicating whether this track is [muted](#//api/name/muted).

Declared In

FMIceLinkIMediaTrack.h

– setSinkOutput: required method

Sets the current sink output.
- (void)setSinkOutput:(FMIceLinkSinkOutput *)value

Discussion

Sets the current sink output.

Declared In

FMIceLinkIMediaTrack.h

– setSourceInput: required method

Sets the current source input.
- (void)setSourceInput:(FMIceLinkSourceInput *)value

Discussion

Sets the current source input.

Declared In

FMIceLinkIMediaTrack.h

– sinkOutput required method

Gets the current sink output.
- (FMIceLinkSinkOutput *)sinkOutput

Discussion

Gets the current sink output.

Declared In

FMIceLinkIMediaTrack.h

– sourceInput required method

Gets the current source input.
- (FMIceLinkSourceInput *)sourceInput

Discussion

Gets the current source input.

Declared In

FMIceLinkIMediaTrack.h