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.VideoBuffer > | grabVideoFrame () |
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... | |
Local media interface.
|
abstract |
Adds a handler that is raised when the audio track is muted.
|
abstract |
Adds a handler that is raised when the audio track is started.
|
abstract |
Adds a handler that is raised when the audio track is stopped.
|
abstract |
Adds a handler that is raised when the audio track is unmuted.
|
abstract |
Adds a handler that is raised when the video track is muted.
|
abstract |
Adds a handler that is raised when the video track is started.
|
abstract |
Adds a handler that is raised when the video track is stopped.
|
abstract |
Adds a handler that is raised when the video track is unmuted.
|
abstract |
Changes the audio source input of the first audio track while the media is active.
audioSourceInput | The audio source input. |
|
abstract |
Changes the video source input of the first video track while the media is active.
videoSourceInput | The video source input. |
|
abstract |
Gets the first (primary) local audio encoding.
|
abstract |
Gets the local audio encodings.
|
abstract |
Gets whether audio simulcast is disabled.
|
abstract |
Gets the number of audio simulcast encodings.
|
abstract |
Gets the preferred audio simulcast bitrate, in kbps.
|
abstract |
Gets the current audio source input of the first audio track.
|
abstract |
Gets the available audio source inputs of the first audio track.
|
abstract |
Gets the current state.
|
abstract |
Gets the first (primary) local video encoding.
|
abstract |
Gets the local video encodings.
|
abstract |
Gets the desired video simulcast bits-per-pixel (bpp).
|
abstract |
Gets the video simulcast degradation preference.
|
abstract |
Gets whether video simulcast is disabled.
|
abstract |
Gets the number of video simulcast encodings.
|
abstract |
Gets the preferred video simulcast bitrate, in kbps.
|
abstract |
Gets the current video source input of the first video track.
|
abstract |
Gets the available video source inputs of the first video track.
|
abstract |
Removes a handler that is raised when the audio track is muted.
|
abstract |
Removes a handler that is raised when the audio track is started.
|
abstract |
Removes a handler that is raised when the audio track is stopped.
|
abstract |
Removes a handler that is raised when the audio track is unmuted.
|
abstract |
Removes a handler that is raised when the video track is muted.
|
abstract |
Removes a handler that is raised when the video track is started.
|
abstract |
Removes a handler that is raised when the video track is stopped.
|
abstract |
Removes a handler that is raised when the video track is unmuted.
|
abstract |
Sets the local audio encodings.
|
abstract |
Sets whether audio simulcast is disabled.
|
abstract |
Sets the number of audio simulcast encodings.
|
abstract |
Sets the preferred audio simulcast bitrate, in kbps.
|
abstract |
Sets the current audio source input of the first audio track.
|
abstract |
Sets the local video encodings.
|
abstract |
Sets the desired video simulcast bits-per-pixel (bpp).
|
abstract |
Sets the video simulcast degradation preference.
|
abstract |
Sets whether video simulcast is disabled.
|
abstract |
Sets the number of video simulcast encodings.
|
abstract |
Sets the preferred video simulcast bitrate, in kbps.
|
abstract |
Sets the current video source input of the first video track.
|
abstract |
Starts the media track sources.
|
abstract |
Stops the media track sources.