fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack > Interface Template Reference

Local media interface. More...

Public Member Functions

abstract void addOnAudioMuted (fm.liveswitch.IAction0 value)
 Adds a handler that is raised when the audio track is muted. More...
 
abstract void addOnAudioStarted (fm.liveswitch.IAction0 value)
 Adds a handler that is raised when the audio track is started. More...
 
abstract void addOnAudioStopped (fm.liveswitch.IAction0 value)
 Adds a handler that is raised when the audio track is stopped. More...
 
abstract void addOnAudioUnmuted (fm.liveswitch.IAction0 value)
 Adds a handler that is raised when the audio track is unmuted. More...
 
abstract void addOnVideoMuted (fm.liveswitch.IAction0 value)
 Adds a handler that is raised when the video track is muted. More...
 
abstract void addOnVideoStarted (fm.liveswitch.IAction0 value)
 Adds a handler that is raised when the video track is started. More...
 
abstract void addOnVideoStopped (fm.liveswitch.IAction0 value)
 Adds a handler that is raised when the video track is stopped. More...
 
abstract void addOnVideoUnmuted (fm.liveswitch.IAction0 value)
 Adds a handler that is raised when the video track is unmuted. More...
 
abstract fm.liveswitch.Future< Object > changeAudioSourceInput (fm.liveswitch.SourceInput audioSourceInput)
 Changes the audio source input of the first audio track while the media is active. More...
 
abstract fm.liveswitch.Future< Object > changeVideoSourceInput (fm.liveswitch.SourceInput videoSourceInput)
 Changes the video source input of the first video track while the media is active. More...
 
abstract fm.liveswitch.AudioEncodingConfig getAudioEncoding ()
 Gets the first (primary) local audio encoding. More...
 
abstract fm.liveswitch.AudioEncodingConfig[] getAudioEncodings ()
 Gets the local audio encodings. More...
 
abstract boolean getAudioSimulcastDisabled ()
 Gets whether audio simulcast is disabled. More...
 
abstract int getAudioSimulcastEncodingCount ()
 Gets the number of audio simulcast encodings. More...
 
abstract int getAudioSimulcastPreferredBitrate ()
 Gets the preferred audio simulcast bitrate, in kbps. More...
 
abstract fm.liveswitch.SourceInput getAudioSourceInput ()
 Gets the current audio source input of the first audio track. More...
 
abstract fm.liveswitch.Future< fm.liveswitch.SourceInput[]> getAudioSourceInputs ()
 Gets the available audio source inputs of the first audio track. More...
 
abstract fm.liveswitch.LocalMediaState getState ()
 Gets the current state. More...
 
abstract fm.liveswitch.VideoEncodingConfig getVideoEncoding ()
 Gets the first (primary) local video encoding. More...
 
abstract fm.liveswitch.VideoEncodingConfig[] getVideoEncodings ()
 Gets the local video encodings. More...
 
abstract double getVideoSimulcastBitsPerPixel ()
 Gets the desired video simulcast bits-per-pixel (bpp). More...
 
abstract fm.liveswitch.VideoDegradationPreference getVideoSimulcastDegradationPreference ()
 Gets the video simulcast degradation preference. More...
 
abstract boolean getVideoSimulcastDisabled ()
 Gets whether video simulcast is disabled. More...
 
abstract int getVideoSimulcastEncodingCount ()
 Gets the number of video simulcast encodings. More...
 
abstract int getVideoSimulcastPreferredBitrate ()
 Gets the preferred video simulcast bitrate, in kbps. More...
 
abstract fm.liveswitch.SourceInput getVideoSourceInput ()
 Gets the current video source input of the first video track. More...
 
abstract fm.liveswitch.Future< fm.liveswitch.SourceInput[]> getVideoSourceInputs ()
 Gets the available video source inputs of the first video track. More...
 
abstract void removeOnAudioMuted (fm.liveswitch.IAction0 value)
 Removes a handler that is raised when the audio track is muted. More...
 
abstract void removeOnAudioStarted (fm.liveswitch.IAction0 value)
 Removes a handler that is raised when the audio track is started. More...
 
abstract void removeOnAudioStopped (fm.liveswitch.IAction0 value)
 Removes a handler that is raised when the audio track is stopped. More...
 
abstract void removeOnAudioUnmuted (fm.liveswitch.IAction0 value)
 Removes a handler that is raised when the audio track is unmuted. More...
 
abstract void removeOnVideoMuted (fm.liveswitch.IAction0 value)
 Removes a handler that is raised when the video track is muted. More...
 
abstract void removeOnVideoStarted (fm.liveswitch.IAction0 value)
 Removes a handler that is raised when the video track is started. More...
 
abstract void removeOnVideoStopped (fm.liveswitch.IAction0 value)
 Removes a handler that is raised when the video track is stopped. More...
 
abstract void removeOnVideoUnmuted (fm.liveswitch.IAction0 value)
 Removes a handler that is raised when the video track is unmuted. More...
 
abstract void setAudioEncodings (fm.liveswitch.AudioEncodingConfig[] value)
 Sets the local audio encodings. More...
 
abstract void setAudioSimulcastDisabled (boolean value)
 Sets whether audio simulcast is disabled. More...
 
abstract void setAudioSimulcastEncodingCount (int value)
 Sets the number of audio simulcast encodings. More...
 
abstract void setAudioSimulcastPreferredBitrate (int value)
 Sets the preferred audio simulcast bitrate, in kbps. More...
 
abstract void setAudioSourceInput (fm.liveswitch.SourceInput value)
 Sets the current audio source input of the first audio track. More...
 
abstract void setVideoEncodings (fm.liveswitch.VideoEncodingConfig[] value)
 Sets the local video encodings. More...
 
abstract void setVideoSimulcastBitsPerPixel (double value)
 Sets the desired video simulcast bits-per-pixel (bpp). More...
 
abstract void setVideoSimulcastDegradationPreference (fm.liveswitch.VideoDegradationPreference value)
 Sets the video simulcast degradation preference. More...
 
abstract void setVideoSimulcastDisabled (boolean value)
 Sets whether video simulcast is disabled. More...
 
abstract void setVideoSimulcastEncodingCount (int value)
 Sets the number of video simulcast encodings. More...
 
abstract void setVideoSimulcastPreferredBitrate (int value)
 Sets the preferred video simulcast bitrate, in kbps. More...
 
abstract void setVideoSourceInput (fm.liveswitch.SourceInput value)
 Sets the current video source input of the first video track. More...
 
abstract fm.liveswitch.Future< TLocalMedia > start ()
 Starts the media track sources. More...
 
abstract fm.liveswitch.Future< TLocalMedia > stop ()
 Stops the media track sources. More...
 
- Public Member Functions inherited from fm.liveswitch.IMedia< TIAudioTrack, TIVideoTrack >
abstract void addOnAudioDestroyed (fm.liveswitch.IAction0 value)
 Adds a handler that is raised when the audio track is destroyed. More...
 
abstract void addOnAudioLevel (fm.liveswitch.IAction1< Double > value)
 Adds a handler that is raised periodically when the audio's level is calculated. More...
 
abstract void addOnVideoDestroyed (fm.liveswitch.IAction0 value)
 Adds a handler that is raised when the video track is destroyed. More...
 
abstract void addOnVideoSize (fm.liveswitch.IAction1< fm.liveswitch.Size > value)
 Adds a handler that is raised whenever the video's frame size is known, once per frame. More...
 
abstract void addOnVideoSizeChange (fm.liveswitch.IAction1< fm.liveswitch.Size > value)
 Adds a handler that is raised whenever the video's frame size changes. More...
 
abstract void destroy ()
 Destroys this media stack. More...
 
abstract double getAudioGain ()
 Gets a value indicating the audio gain (input amplification). More...
 
abstract int getAudioLevelInterval ()
 Gets the interval in milliseconds between fm.liveswitch.IMedia#addOnAudioLevel events. More...
 
abstract boolean getAudioMuted ()
 Gets a value indicating whether the audio is muted. More...
 
abstract TIAudioTrack getAudioTrack ()
 Gets the audio track. More...
 
abstract TIAudioTrack[] getAudioTracks ()
 Gets the audio tracks. More...
 
abstract double getAudioVolume ()
 Gets a value indicating the audio volume (output resistance). More...
 
abstract String getId ()
 Gets the identifier. More...
 
abstract boolean getVideoMuted ()
 Gets a value indicating whether the video is muted. More...
 
abstract fm.liveswitch.Size getVideoSize ()
 Gets the size of the last processed video frame, if known. More...
 
abstract TIVideoTrack getVideoTrack ()
 Gets the video track. More...
 
abstract TIVideoTrack[] getVideoTracks ()
 Gets the video tracks. More...
 
abstract fm.liveswitch.Future< fm.liveswitch.VideoBuffergrabVideoFrame ()
 Gets the next raw video frame. More...
 
abstract void removeOnAudioDestroyed (fm.liveswitch.IAction0 value)
 Removes a handler that is raised when the audio track is destroyed. More...
 
abstract void removeOnAudioLevel (fm.liveswitch.IAction1< Double > value)
 Removes a handler that is raised periodically when the audio's level is calculated. More...
 
abstract void removeOnVideoDestroyed (fm.liveswitch.IAction0 value)
 Removes a handler that is raised when the video track is destroyed. More...
 
abstract void removeOnVideoSize (fm.liveswitch.IAction1< fm.liveswitch.Size > value)
 Removes a handler that is raised whenever the video's frame size is known, once per frame. More...
 
abstract void removeOnVideoSizeChange (fm.liveswitch.IAction1< fm.liveswitch.Size > value)
 Removes a handler that is raised whenever the video's frame size changes. More...
 
abstract void setAudioGain (double value)
 Sets a value indicating the audio gain (input amplification). More...
 
abstract void setAudioLevelInterval (int value)
 Sets the interval in milliseconds between fm.liveswitch.IMedia#addOnAudioLevel events. More...
 
abstract void setAudioMuted (boolean value)
 Sets a value indicating whether the audio is muted. More...
 
abstract void setAudioVolume (double value)
 Sets a value indicating the audio volume (output resistance). More...
 
abstract void setId (String value)
 Sets the identifier. More...
 
abstract void setVideoMuted (boolean value)
 Sets a value indicating whether the video is muted. More...
 

Detailed Description

Local media interface.

Member Function Documentation

◆ addOnAudioMuted()

abstract void fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.addOnAudioMuted ( fm.liveswitch.IAction0  value)
abstract

Adds a handler that is raised when the audio track is muted.

◆ addOnAudioStarted()

abstract void fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.addOnAudioStarted ( fm.liveswitch.IAction0  value)
abstract

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

◆ addOnAudioStopped()

abstract void fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.addOnAudioStopped ( fm.liveswitch.IAction0  value)
abstract

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

◆ addOnAudioUnmuted()

abstract void fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.addOnAudioUnmuted ( fm.liveswitch.IAction0  value)
abstract

Adds a handler that is raised when the audio track is unmuted.

◆ addOnVideoMuted()

abstract void fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.addOnVideoMuted ( fm.liveswitch.IAction0  value)
abstract

Adds a handler that is raised when the video track is muted.

◆ addOnVideoStarted()

abstract void fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.addOnVideoStarted ( fm.liveswitch.IAction0  value)
abstract

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

◆ addOnVideoStopped()

abstract void fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.addOnVideoStopped ( fm.liveswitch.IAction0  value)
abstract

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

◆ addOnVideoUnmuted()

abstract void fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.addOnVideoUnmuted ( fm.liveswitch.IAction0  value)
abstract

Adds a handler that is raised when the video track is unmuted.

◆ changeAudioSourceInput()

abstract fm.liveswitch.Future<Object> fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.changeAudioSourceInput ( fm.liveswitch.SourceInput  audioSourceInput)
abstract

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

Parameters
audioSourceInputThe audio source input.

◆ changeVideoSourceInput()

abstract fm.liveswitch.Future<Object> fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.changeVideoSourceInput ( fm.liveswitch.SourceInput  videoSourceInput)
abstract

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

Parameters
videoSourceInputThe video source input.

◆ getAudioEncoding()

abstract fm.liveswitch.AudioEncodingConfig fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.getAudioEncoding ( )
abstract

Gets the first (primary) local audio encoding.

◆ getAudioEncodings()

abstract fm.liveswitch.AudioEncodingConfig [] fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.getAudioEncodings ( )
abstract

Gets the local audio encodings.

◆ getAudioSimulcastDisabled()

abstract boolean fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.getAudioSimulcastDisabled ( )
abstract

Gets whether audio simulcast is disabled.

◆ getAudioSimulcastEncodingCount()

abstract int fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.getAudioSimulcastEncodingCount ( )
abstract

Gets the number of audio simulcast encodings.

◆ getAudioSimulcastPreferredBitrate()

abstract int fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.getAudioSimulcastPreferredBitrate ( )
abstract

Gets the preferred audio simulcast bitrate, in kbps.

◆ getAudioSourceInput()

abstract fm.liveswitch.SourceInput fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.getAudioSourceInput ( )
abstract

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

◆ getAudioSourceInputs()

abstract fm.liveswitch.Future<fm.liveswitch.SourceInput[]> fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.getAudioSourceInputs ( )
abstract

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

Returns
A future with an array of audio source inputs.

◆ getState()

abstract fm.liveswitch.LocalMediaState fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.getState ( )
abstract

Gets the current state.

◆ getVideoEncoding()

abstract fm.liveswitch.VideoEncodingConfig fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.getVideoEncoding ( )
abstract

Gets the first (primary) local video encoding.

◆ getVideoEncodings()

abstract fm.liveswitch.VideoEncodingConfig [] fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.getVideoEncodings ( )
abstract

Gets the local video encodings.

◆ getVideoSimulcastBitsPerPixel()

abstract double fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.getVideoSimulcastBitsPerPixel ( )
abstract

Gets the desired video simulcast bits-per-pixel (bpp).

◆ getVideoSimulcastDegradationPreference()

abstract fm.liveswitch.VideoDegradationPreference fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.getVideoSimulcastDegradationPreference ( )
abstract

Gets the video simulcast degradation preference.

◆ getVideoSimulcastDisabled()

abstract boolean fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.getVideoSimulcastDisabled ( )
abstract

Gets whether video simulcast is disabled.

◆ getVideoSimulcastEncodingCount()

abstract int fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.getVideoSimulcastEncodingCount ( )
abstract

Gets the number of video simulcast encodings.

◆ getVideoSimulcastPreferredBitrate()

abstract int fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.getVideoSimulcastPreferredBitrate ( )
abstract

Gets the preferred video simulcast bitrate, in kbps.

◆ getVideoSourceInput()

abstract fm.liveswitch.SourceInput fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.getVideoSourceInput ( )
abstract

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

◆ getVideoSourceInputs()

abstract fm.liveswitch.Future<fm.liveswitch.SourceInput[]> fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.getVideoSourceInputs ( )
abstract

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

Returns
A future with an array of video source inputs.

◆ removeOnAudioMuted()

abstract void fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.removeOnAudioMuted ( fm.liveswitch.IAction0  value)
abstract

Removes a handler that is raised when the audio track is muted.

◆ removeOnAudioStarted()

abstract void fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.removeOnAudioStarted ( fm.liveswitch.IAction0  value)
abstract

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

◆ removeOnAudioStopped()

abstract void fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.removeOnAudioStopped ( fm.liveswitch.IAction0  value)
abstract

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

◆ removeOnAudioUnmuted()

abstract void fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.removeOnAudioUnmuted ( fm.liveswitch.IAction0  value)
abstract

Removes a handler that is raised when the audio track is unmuted.

◆ removeOnVideoMuted()

abstract void fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.removeOnVideoMuted ( fm.liveswitch.IAction0  value)
abstract

Removes a handler that is raised when the video track is muted.

◆ removeOnVideoStarted()

abstract void fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.removeOnVideoStarted ( fm.liveswitch.IAction0  value)
abstract

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

◆ removeOnVideoStopped()

abstract void fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.removeOnVideoStopped ( fm.liveswitch.IAction0  value)
abstract

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

◆ removeOnVideoUnmuted()

abstract void fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.removeOnVideoUnmuted ( fm.liveswitch.IAction0  value)
abstract

Removes a handler that is raised when the video track is unmuted.

◆ setAudioEncodings()

abstract void fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.setAudioEncodings ( fm.liveswitch.AudioEncodingConfig[]  value)
abstract

Sets the local audio encodings.

◆ setAudioSimulcastDisabled()

abstract void fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.setAudioSimulcastDisabled ( boolean  value)
abstract

Sets whether audio simulcast is disabled.

◆ setAudioSimulcastEncodingCount()

abstract void fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.setAudioSimulcastEncodingCount ( int  value)
abstract

Sets the number of audio simulcast encodings.

◆ setAudioSimulcastPreferredBitrate()

abstract void fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.setAudioSimulcastPreferredBitrate ( int  value)
abstract

Sets the preferred audio simulcast bitrate, in kbps.

◆ setAudioSourceInput()

abstract void fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.setAudioSourceInput ( fm.liveswitch.SourceInput  value)
abstract

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

◆ setVideoEncodings()

abstract void fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.setVideoEncodings ( fm.liveswitch.VideoEncodingConfig[]  value)
abstract

Sets the local video encodings.

◆ setVideoSimulcastBitsPerPixel()

abstract void fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.setVideoSimulcastBitsPerPixel ( double  value)
abstract

Sets the desired video simulcast bits-per-pixel (bpp).

◆ setVideoSimulcastDegradationPreference()

abstract void fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.setVideoSimulcastDegradationPreference ( fm.liveswitch.VideoDegradationPreference  value)
abstract

Sets the video simulcast degradation preference.

◆ setVideoSimulcastDisabled()

abstract void fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.setVideoSimulcastDisabled ( boolean  value)
abstract

Sets whether video simulcast is disabled.

◆ setVideoSimulcastEncodingCount()

abstract void fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.setVideoSimulcastEncodingCount ( int  value)
abstract

Sets the number of video simulcast encodings.

◆ setVideoSimulcastPreferredBitrate()

abstract void fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.setVideoSimulcastPreferredBitrate ( int  value)
abstract

Sets the preferred video simulcast bitrate, in kbps.

◆ setVideoSourceInput()

abstract void fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.setVideoSourceInput ( fm.liveswitch.SourceInput  value)
abstract

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

◆ start()

abstract fm.liveswitch.Future<TLocalMedia> fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.start ( )
abstract

Starts the media track sources.

◆ stop()

abstract fm.liveswitch.Future<TLocalMedia> fm.liveswitch.ILocalMedia< TLocalMedia, TIAudioTrack extends fm.liveswitch.IAudioTrack, TIVideoTrack extends fm.liveswitch.IVideoTrack >.stop ( )
abstract

Stops the media track sources.