<FMLiveSwitchIRemoteMedia> Protocol Reference

Remote media interface. More...

Instance Methods

(FMLiveSwitchSinkOutput *) - audioSinkOutput
 Gets the current audio sink output of the first audio track. More...
 
(FMLiveSwitchFuture *) - changeAudioSinkOutput:
 Changes the audio sink output of the first audio track while the media is active. More...
 
(FMLiveSwitchFuture *) - changeVideoSinkOutput:
 Changes the video sink output of the first video track while the media is active. More...
 
(FMLiveSwitchFuture *) - getAudioSinkOutputs
 Gets the available audio sink outputs of the first audio track. More...
 
(FMLiveSwitchFuture *) - getVideoSinkOutputs
 Gets the available video sink outputs of the first video track. More...
 
(void) - setAudioSinkOutput:
 Sets the current audio sink output of the first audio track. More...
 
(void) - setVideoSinkOutput:
 Sets the current video sink output of the first video track. More...
 
(FMLiveSwitchSinkOutput *) - videoSinkOutput
 Gets the current video sink output of the first video track. More...
 
- Instance Methods inherited from <FMLiveSwitchIMedia>
(void) - addOnAudioDestroyed:
 Adds a handler that is raised when the audio track is destroyed. More...
 
(void) - addOnAudioLevel:
 Adds a handler that is raised periodically when the audio's level is calculated. More...
 
(double) - addOnAudioLevelWithBlock
 Adds a handler that is raised periodically when the audio's level is calculated. More...
 
(void) - addOnAudioLevelWithBlock:
 Adds a handler that is raised periodically when the audio's level is calculated. More...
 
(void) - addOnVideoDestroyed:
 Adds a handler that is raised when the video track is destroyed. More...
 
(void) - addOnVideoSize:
 Adds a handler that is raised whenever the video's frame size is known, once per frame. More...
 
(void) - addOnVideoSizeChange:
 Adds a handler that is raised whenever the video's frame size changes. More...
 
(FMLiveSwitchSize *) - addOnVideoSizeChangeWithBlock
 Adds a handler that is raised whenever the video's frame size changes. More...
 
(void) - addOnVideoSizeChangeWithBlock:
 Adds a handler that is raised whenever the video's frame size changes. More...
 
(FMLiveSwitchSize *) - addOnVideoSizeWithBlock
 Adds a handler that is raised whenever the video's frame size is known, once per frame. More...
 
(void) - addOnVideoSizeWithBlock:
 Adds a handler that is raised whenever the video's frame size is known, once per frame. More...
 
(double) - audioGain
 Gets a value indicating the audio gain (input amplification). More...
 
(int) - audioLevelInterval
 Gets the interval in milliseconds between FMLiveSwitchIMedia`2addOnAudioLevel: events. More...
 
(bool) - audioMuted
 Gets a value indicating whether the audio is muted. More...
 
(NSObject< FMLiveSwitchIAudioTrack > *) - audioTrack
 Gets the audio track. More...
 
(NSMutableArray *) - audioTracks
 Gets the audio tracks. More...
 
(double) - audioVolume
 Gets a value indicating the audio volume (output resistance). More...
 
(void) - destroy
 Destroys this media stack. More...
 
(FMLiveSwitchFuture *) - grabVideoFrame
 Gets the next raw video frame. More...
 
(NSString *) - id
 Gets the identifier. More...
 
(void) - removeOnAudioDestroyed:
 Removes a handler that is raised when the audio track is destroyed. More...
 
(void) - removeOnAudioLevel:
 Removes a handler that is raised periodically when the audio's level is calculated. More...
 
(void) - removeOnVideoDestroyed:
 Removes a handler that is raised when the video track is destroyed. More...
 
(void) - removeOnVideoSize:
 Removes a handler that is raised whenever the video's frame size is known, once per frame. More...
 
(void) - removeOnVideoSizeChange:
 Removes a handler that is raised whenever the video's frame size changes. More...
 
(void) - setAudioGain:
 Sets a value indicating the audio gain (input amplification). More...
 
(void) - setAudioLevelInterval:
 Sets the interval in milliseconds between FMLiveSwitchIMedia`2addOnAudioLevel: events. More...
 
(void) - setAudioMuted:
 Sets a value indicating whether the audio is muted. More...
 
(void) - setAudioVolume:
 Sets a value indicating the audio volume (output resistance). More...
 
(void) - setId:
 Sets the identifier. More...
 
(void) - setVideoMuted:
 Sets a value indicating whether the video is muted. More...
 
(bool) - videoMuted
 Gets a value indicating whether the video is muted. More...
 
(FMLiveSwitchSize *) - videoSize
 Gets the size of the last processed video frame, if known. More...
 
(NSObject< FMLiveSwitchIVideoTrack > *) - videoTrack
 Gets the video track. More...
 
(NSMutableArray *) - videoTracks
 Gets the video tracks. More...
 

Detailed Description

Remote media interface.

Method Documentation

◆ audioSinkOutput

- (FMLiveSwitchSinkOutput*) audioSinkOutput

Gets the current audio sink output of the first audio track.

◆ changeAudioSinkOutput:

- (FMLiveSwitchFuture*) changeAudioSinkOutput: (FMLiveSwitchSinkOutput *)  audioSinkOutput

Changes the audio sink output of the first audio track while the media is active.

Parameters
audioSinkOutputThe audio sink output.

◆ changeVideoSinkOutput:

- (FMLiveSwitchFuture*) changeVideoSinkOutput: (FMLiveSwitchSinkOutput *)  videoSinkOutput

Changes the video sink output of the first video track while the media is active.

Parameters
videoSinkOutputThe video sink output.

◆ getAudioSinkOutputs

- (FMLiveSwitchFuture*) getAudioSinkOutputs

Gets the available audio sink outputs of the first audio track.

Returns
A future with an array of audio sink outputs.

◆ getVideoSinkOutputs

- (FMLiveSwitchFuture*) getVideoSinkOutputs

Gets the available video sink outputs of the first video track.

Returns
A future with an array of video sink outputs.

◆ setAudioSinkOutput:

- (void) setAudioSinkOutput: (FMLiveSwitchSinkOutput *)  value

Sets the current audio sink output of the first audio track.

◆ setVideoSinkOutput:

- (void) setVideoSinkOutput: (FMLiveSwitchSinkOutput *)  value

Sets the current video sink output of the first video track.

◆ videoSinkOutput

- (FMLiveSwitchSinkOutput*) videoSinkOutput

Gets the current video sink output of the first video track.