FMIceLinkMediaTrackBase Class Reference

Inherits from FMIceLinkDynamic : FMIceLinkSerializable : NSObject
Conforms to FMIceLinkIMediaTrack
Declared in FMIceLinkMediaTrackBase.h
FMIceLinkMediaTrackBase.m

Overview

Media track base properties/methods.

– addOnDestroyed:

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

FMIceLinkMediaTrackBase.h

– addOnStarted:

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

FMIceLinkMediaTrackBase.h

– addOnStopped:

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

FMIceLinkMediaTrackBase.h

– changeSinkOutput:

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

Parameters

sinkOutput

The sink output. @return

Discussion

Changes the sink output while the media track is active.

Declared In

FMIceLinkMediaTrackBase.h

– changeSourceInput:

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

Parameters

sourceInput

The source input. @return

Discussion

Changes the source input while the media track is active.

Declared In

FMIceLinkMediaTrackBase.h

– destroy

Destroys this media track.
- (bool)destroy

Discussion

Destroys this media track.

Declared In

FMIceLinkMediaTrackBase.h

– getSinkOutputs

Gets the available sink outputs.

@return A future with an array of sink outputs.

- (FMIceLinkFuture<NSMutableArray*> *)getSinkOutputs

Discussion

Gets the available sink outputs.

@return A future with an array of sink outputs.

Declared In

FMIceLinkMediaTrackBase.h

– getSourceInputs

Gets the available source inputs.

@return A future with an array of source inputs.

- (FMIceLinkFuture<NSMutableArray*> *)getSourceInputs

Discussion

Gets the available source inputs.

@return A future with an array of source inputs.

Declared In

FMIceLinkMediaTrackBase.h

– init

- (instancetype)init

Declared In

FMIceLinkSerializable.h

– muted

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

Discussion

Gets a value indicating whether this track is muted.

Declared In

FMIceLinkMediaTrackBase.h

– removeOnDestroyed:

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

FMIceLinkMediaTrackBase.h

– removeOnStarted:

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

FMIceLinkMediaTrackBase.h

– removeOnStopped:

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

FMIceLinkMediaTrackBase.h

– setMuted:

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

FMIceLinkMediaTrackBase.h

– setSinkOutput:

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

Discussion

Sets the current sink output.

Declared In

FMIceLinkMediaTrackBase.h

– setSourceInput:

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

Discussion

Sets the current source input.

Declared In

FMIceLinkMediaTrackBase.h

– sinkOutput

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

Discussion

Gets the current sink output.

Declared In

FMIceLinkMediaTrackBase.h

– sourceInput

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

Discussion

Gets the current source input.

Declared In

FMIceLinkMediaTrackBase.h