fm.liveswitch.RtcRemoteMedia< TView > Class Template Referenceabstract

A WebRTC/ORTC-compatible collection of remote audio/video tracks. More...

Public Member Functions

void addOnActiveAudioConverterChange (fm.liveswitch.IAction1< fm.liveswitch.AudioPipe > value)
 Adds a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveAudioConverter changes. More...
 
void addOnActiveAudioDecoderChange (fm.liveswitch.IAction1< fm.liveswitch.AudioDecoder > value)
 Adds a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveAudioDecoder changes. More...
 
void addOnActiveAudioDepacketizerChange (fm.liveswitch.IAction1< fm.liveswitch.AudioPipe > value)
 Adds a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveAudioDepacketizer changes. More...
 
void addOnActiveAudioSinkChange (fm.liveswitch.IAction1< fm.liveswitch.AudioSink > value)
 Adds a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveAudioSink changes. More...
 
void addOnActiveAudioSynchronizerChange (fm.liveswitch.IAction1< fm.liveswitch.AudioSynchronizer > value)
 Adds a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveAudioSynchronizer changes. More...
 
void addOnActiveVideoConverterChange (fm.liveswitch.IAction1< fm.liveswitch.VideoPipe > value)
 Adds a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveVideoConverter changes. More...
 
void addOnActiveVideoDecoderChange (fm.liveswitch.IAction1< fm.liveswitch.VideoDecoder > value)
 Adds a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveVideoDecoder changes. More...
 
void addOnActiveVideoDepacketizerChange (fm.liveswitch.IAction1< fm.liveswitch.VideoPipe > value)
 Adds a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveVideoDepacketizer changes. More...
 
void addOnActiveVideoSynchronizerChange (fm.liveswitch.IAction1< fm.liveswitch.VideoSynchronizer > value)
 Adds a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveVideoSynchronizer changes. More...
 
void destroy ()
 Destroys all media tracks. More...
 
fm.liveswitch.AudioPipe getActiveAudioConverter ()
 Gets the active audio converter. More...
 
fm.liveswitch.AudioDecoder getActiveAudioDecoder ()
 Gets the active audio decoder. More...
 
fm.liveswitch.AudioPipe getActiveAudioDepacketizer ()
 Gets the active audio depacketizer. More...
 
fm.liveswitch.AudioSink getActiveAudioSink ()
 Gets the active audio sink. More...
 
fm.liveswitch.AudioSynchronizer getActiveAudioSynchronizer ()
 Gets the active audio synchronizer. More...
 
fm.liveswitch.VideoPipe getActiveVideoConverter ()
 Gets the active video converter. More...
 
fm.liveswitch.VideoDecoder getActiveVideoDecoder ()
 Gets the active video decoder. More...
 
fm.liveswitch.VideoPipe getActiveVideoDepacketizer ()
 Gets the active video depacketizer. More...
 
fm.liveswitch.VideoSynchronizer getActiveVideoSynchronizer ()
 Gets the active video synchronizer. More...
 
fm.liveswitch.AecContext getAecContext ()
 Gets the acoustic echo cancellation context. More...
 
boolean getAecDisabled ()
 Gets a value indicating whether acoustic echo cancellation is disabled. More...
 
boolean getAudioDisabled ()
 Gets a value indicating whether audio is disabled. More...
 
fm.liveswitch.IAudioInput[] getAudioInputs ()
 Gets the audio inputs. More...
 
boolean getDepacketizerDisabled ()
 Gets a value indicating whether the depacketizer is disabled. More...
 
fm.liveswitch.AudioPipe getG722Converter ()
 Gets the G.722 converter. More...
 
fm.liveswitch.AudioDecoder getG722Decoder ()
 Gets the G.722 decoder. More...
 
fm.liveswitch.AudioPipe getG722Depacketizer ()
 Gets the G.722 depacketizer. More...
 
boolean getG722Disabled ()
 Gets whether the G.722 codec is disabled. More...
 
fm.liveswitch.AudioSink getG722Sink ()
 Gets the G.722 sink. More...
 
fm.liveswitch.AudioSynchronizer getG722Synchronizer ()
 Gets the G.722 synchronizer. More...
 
fm.liveswitch.VideoPipe getH264Converter ()
 Gets the H.264 converter. More...
 
fm.liveswitch.VideoPipe[] getH264Converters ()
 Gets the H.264 converters. More...
 
fm.liveswitch.VideoDecoder getH264Decoder ()
 Gets first the H.264 decoder. More...
 
fm.liveswitch.VideoDecoder[] getH264Decoders ()
 Gets the H.264 decoders. More...
 
fm.liveswitch.VideoPipe getH264Depacketizer ()
 Gets the first H.264 depacketizer. More...
 
fm.liveswitch.VideoPipe[] getH264Depacketizers ()
 Gets the first H.264 depacketizers. More...
 
fm.liveswitch.VideoPipe[][] getH264DepacketizersArray ()
 Gets the H.264 depacketizers array. More...
 
boolean getH264Disabled ()
 Gets whether the H.264 codec is disabled. More...
 
fm.liveswitch.VideoSynchronizer getH264Synchronizer ()
 Gets the H.264 synchronizer. More...
 
fm.liveswitch.VideoSynchronizer[] getH264Synchronizers ()
 Gets the H.264 synchronizers. More...
 
fm.liveswitch.VideoPipe getH265Converter ()
 Gets the H.265 converter. More...
 
fm.liveswitch.VideoDecoder getH265Decoder ()
 Gets the H.265 decoder. More...
 
fm.liveswitch.VideoPipe getH265Depacketizer ()
 Gets the H.265 depacketizer. More...
 
boolean getH265Disabled ()
 Gets whether the H.265 codec is disabled. More...
 
fm.liveswitch.VideoSynchronizer getH265Synchronizer ()
 Gets the H.265 synchronizer. More...
 
fm.liveswitch.AudioPipe getL16Converter ()
 Gets the L16 converter. More...
 
fm.liveswitch.AudioDecoder getL16Decoder ()
 Gets the L16 decoder. More...
 
fm.liveswitch.AudioPipe getL16Depacketizer ()
 Gets the L16 depacketizer. More...
 
boolean getL16Disabled ()
 Gets whether the L16 codec is disabled. More...
 
fm.liveswitch.AudioSink getL16Sink ()
 Gets the L16 sink. More...
 
fm.liveswitch.AudioSynchronizer getL16Synchronizer ()
 Gets the L16 synchronizer. More...
 
fm.liveswitch.AudioPipe getOpusConverter ()
 Gets the Opus converter. More...
 
fm.liveswitch.AudioDecoder getOpusDecoder ()
 Gets the Opus decoder. More...
 
fm.liveswitch.AudioPipe getOpusDepacketizer ()
 Gets the Opus depacketizer. More...
 
boolean getOpusDisabled ()
 Gets whether the Opus codec is disabled. More...
 
fm.liveswitch.AudioSink getOpusSink ()
 Gets the Opus sink. More...
 
fm.liveswitch.AudioSynchronizer getOpusSynchronizer ()
 Gets the Opus synchronizer. More...
 
fm.liveswitch.AudioPipe getPcmaConverter ()
 Gets the PCMA converter. More...
 
fm.liveswitch.AudioDecoder getPcmaDecoder ()
 Gets the PCMA decoder. More...
 
fm.liveswitch.AudioPipe getPcmaDepacketizer ()
 Gets the PCMA depacketizer. More...
 
boolean getPcmaDisabled ()
 Gets whether the PCMA codec is disabled. More...
 
fm.liveswitch.AudioSink getPcmaSink ()
 Gets the PCMA sink. More...
 
fm.liveswitch.AudioSynchronizer getPcmaSynchronizer ()
 Gets the PCMA synchronizer. More...
 
fm.liveswitch.AudioPipe getPcmuConverter ()
 Gets the PCMU converter. More...
 
fm.liveswitch.AudioDecoder getPcmuDecoder ()
 Gets the PCMU decoder. More...
 
fm.liveswitch.AudioPipe getPcmuDepacketizer ()
 Gets the PCMU depacketizer. More...
 
boolean getPcmuDisabled ()
 Gets whether the PCMU codec is disabled. More...
 
fm.liveswitch.AudioSink getPcmuSink ()
 Gets the PCMU sink. More...
 
fm.liveswitch.AudioSynchronizer getPcmuSynchronizer ()
 Gets the PCMU synchronizer. More...
 
boolean getVideoDisabled ()
 Gets a value indicating whether video is disabled. More...
 
fm.liveswitch.IVideoInput[] getVideoInputs ()
 Gets the video inputs. More...
 
TView getView ()
 Gets the video view, if video is not disabled. More...
 
fm.liveswitch.ViewSink< TView > getViewSink ()
 Gets the video view sink, if video is not disabled. More...
 
fm.liveswitch.VideoPipe getVp8Converter ()
 Gets the VP8 converter. More...
 
fm.liveswitch.VideoDecoder getVp8Decoder ()
 Gets the VP8 decoder. More...
 
fm.liveswitch.VideoPipe getVp8Depacketizer ()
 Gets the VP8 depacketizer. More...
 
boolean getVp8Disabled ()
 Gets whether the VP8 codec is disabled. More...
 
fm.liveswitch.VideoSynchronizer getVp8Synchronizer ()
 Gets the VP8 synchronizer. More...
 
fm.liveswitch.VideoPipe getVp9Converter ()
 Gets the VP9 converter. More...
 
fm.liveswitch.VideoDecoder getVp9Decoder ()
 Gets the VP9 decoder. More...
 
fm.liveswitch.VideoPipe getVp9Depacketizer ()
 Gets the VP9 depacketizer. More...
 
boolean getVp9Disabled ()
 Gets whether the VP9 codec is disabled. More...
 
fm.liveswitch.VideoSynchronizer getVp9Synchronizer ()
 Gets the VP9 synchronizer. More...
 
boolean initialize ()
 Initializes this instance. More...
 
boolean initialize (fm.liveswitch.RtcAudioTrackConfig audioTrackConfig, fm.liveswitch.RtcVideoTrackConfig videoTrackConfig)
 Initializes this instance. More...
 
void removeOnActiveAudioConverterChange (fm.liveswitch.IAction1< fm.liveswitch.AudioPipe > value)
 Removes a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveAudioConverter changes. More...
 
void removeOnActiveAudioDecoderChange (fm.liveswitch.IAction1< fm.liveswitch.AudioDecoder > value)
 Removes a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveAudioDecoder changes. More...
 
void removeOnActiveAudioDepacketizerChange (fm.liveswitch.IAction1< fm.liveswitch.AudioPipe > value)
 Removes a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveAudioDepacketizer changes. More...
 
void removeOnActiveAudioSinkChange (fm.liveswitch.IAction1< fm.liveswitch.AudioSink > value)
 Removes a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveAudioSink changes. More...
 
void removeOnActiveAudioSynchronizerChange (fm.liveswitch.IAction1< fm.liveswitch.AudioSynchronizer > value)
 Removes a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveAudioSynchronizer changes. More...
 
void removeOnActiveVideoConverterChange (fm.liveswitch.IAction1< fm.liveswitch.VideoPipe > value)
 Removes a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveVideoConverter changes. More...
 
void removeOnActiveVideoDecoderChange (fm.liveswitch.IAction1< fm.liveswitch.VideoDecoder > value)
 Removes a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveVideoDecoder changes. More...
 
void removeOnActiveVideoDepacketizerChange (fm.liveswitch.IAction1< fm.liveswitch.VideoPipe > value)
 Removes a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveVideoDepacketizer changes. More...
 
void removeOnActiveVideoSynchronizerChange (fm.liveswitch.IAction1< fm.liveswitch.VideoSynchronizer > value)
 Removes a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveVideoSynchronizer changes. More...
 
 RtcRemoteMedia (boolean disableAudio, boolean disableVideo)
 Initializes a new instance of the fm.liveswitch.RtcRemoteMedia class. More...
 
 RtcRemoteMedia (boolean disableAudio, boolean disableVideo, fm.liveswitch.AecContext aecContext)
 Initializes a new instance of the fm.liveswitch.RtcRemoteMedia class. More...
 
boolean toggleAudioRecording ()
 Toggles audio recording. More...
 
boolean toggleVideoRecording ()
 Toggles video recording. More...
 
- Public Member Functions inherited from fm.liveswitch.RemoteMedia
fm.liveswitch.Future< Object > changeAudioSinkOutput (fm.liveswitch.SinkOutput audioSinkOutput)
 Changes the audio sink output of the first audio track while the media is active. More...
 
fm.liveswitch.Future< Object > changeVideoSinkOutput (fm.liveswitch.SinkOutput videoSinkOutput)
 Changes the video sink output of the first video track while the media is active. More...
 
fm.liveswitch.AudioSink getAudioSink ()
 Gets the first audio sink. More...
 
fm.liveswitch.SinkOutput getAudioSinkOutput ()
 Gets the current audio sink output of the first audio track. More...
 
fm.liveswitch.Future< fm.liveswitch.SinkOutput[]> getAudioSinkOutputs ()
 Gets the available audio sink outputs of the first audio track. More...
 
fm.liveswitch.AudioSink[] getAudioSinks ()
 Gets the audio sinks. More...
 
fm.liveswitch.MediaSinkBase[] getMediaSinks ()
 Gets the audio/video sinks. More...
 
fm.liveswitch.VideoSink getVideoSink ()
 Gets the first video sink. More...
 
fm.liveswitch.SinkOutput getVideoSinkOutput ()
 Gets the current video sink output of the first video track. More...
 
fm.liveswitch.Future< fm.liveswitch.SinkOutput[]> getVideoSinkOutputs ()
 Gets the available video sink outputs of the first video track. More...
 
fm.liveswitch.VideoSink[] getVideoSinks ()
 Gets the video sinks. More...
 
 RemoteMedia ()
 
void setAudioSinkOutput (fm.liveswitch.SinkOutput value)
 Sets the current audio sink output of the first audio track. More...
 
void setVideoSinkOutput (fm.liveswitch.SinkOutput value)
 Sets the current video sink output of the first video track. More...
 
- Public Member Functions inherited from fm.liveswitch.Media< fm.liveswitch.AudioTrack, fm.liveswitch.VideoTrack >
void addOnAudioDestroyed (fm.liveswitch.IAction0 value)
 Adds a handler that is raised when the audio track is destroyed. More...
 
void addOnAudioLevel (fm.liveswitch.IAction1< Double > value)
 Adds a handler that is raised periodically when the audio's level is calculated. More...
 
void addOnVideoDestroyed (fm.liveswitch.IAction0 value)
 Adds a handler that is raised when the video track is destroyed. More...
 
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...
 
void addOnVideoSizeChange (fm.liveswitch.IAction1< fm.liveswitch.Size > value)
 Adds a handler that is raised whenever the video's frame size changes. More...
 
void destroy ()
 Destroys all non-persistent internal objects encapsulated by the Media class. More...
 
int getAudioLevelInterval ()
 Gets the interval in milliseconds between fm.liveswitch.Media#addOnAudioLevel events. More...
 
TAudioTrack[] getAudioTracks ()
 Gets all audio tracks from this media. More...
 
boolean getIsRecordingAudio ()
 Gets whether audio is being recorded locally. More...
 
boolean getIsRecordingVideo ()
 Gets whether video is being recorded locally. More...
 
fm.liveswitch.Size getVideoSize ()
 Gets the size of the video track. More...
 
TVideoTrack[] getVideoTracks ()
 Gets all video tracks from this media. More...
 
fm.liveswitch.Future< fm.liveswitch.VideoBuffergrabVideoFrame ()
 Gets the next frame from the video track once it is rendered. More...
 
 Media ()
 Initializes a new instance of the fm.liveswitch.Media class. More...
 
void removeOnAudioDestroyed (fm.liveswitch.IAction0 value)
 Removes a handler that is raised when the audio track is destroyed. More...
 
void removeOnAudioLevel (fm.liveswitch.IAction1< Double > value)
 Removes a handler that is raised periodically when the audio's level is calculated. More...
 
void removeOnVideoDestroyed (fm.liveswitch.IAction0 value)
 Removes a handler that is raised when the video track is destroyed. More...
 
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...
 
void removeOnVideoSizeChange (fm.liveswitch.IAction1< fm.liveswitch.Size > value)
 Removes a handler that is raised whenever the video's frame size changes. More...
 
void setAudioLevelInterval (int value)
 Sets the interval in milliseconds between fm.liveswitch.Media#addOnAudioLevel events. More...
 
- Public Member Functions inherited from fm.liveswitch.IRemoteMedia< fm.liveswitch.AudioTrack, fm.liveswitch.VideoTrack >
abstract fm.liveswitch.Future< Object > changeAudioSinkOutput (fm.liveswitch.SinkOutput audioSinkOutput)
 Changes the audio sink output of the first audio track while the media is active. More...
 
abstract fm.liveswitch.Future< Object > changeVideoSinkOutput (fm.liveswitch.SinkOutput videoSinkOutput)
 Changes the video sink output of the first video track while the media is active. More...
 
abstract fm.liveswitch.SinkOutput getAudioSinkOutput ()
 Gets the current audio sink output of the first audio track. More...
 
abstract fm.liveswitch.Future< fm.liveswitch.SinkOutput[]> getAudioSinkOutputs ()
 Gets the available audio sink outputs of the first audio track. More...
 
abstract fm.liveswitch.SinkOutput getVideoSinkOutput ()
 Gets the current video sink output of the first video track. More...
 
abstract fm.liveswitch.Future< fm.liveswitch.SinkOutput[]> getVideoSinkOutputs ()
 Gets the available video sink outputs of the first video track. More...
 
abstract void setAudioSinkOutput (fm.liveswitch.SinkOutput value)
 Sets the current audio sink output of the first audio track. More...
 
abstract void setVideoSinkOutput (fm.liveswitch.SinkOutput value)
 Sets the current video sink output of the first video track. More...
 
- Public Member Functions inherited from fm.liveswitch.IMedia< fm.liveswitch.AudioTrack, fm.liveswitch.VideoTrack >
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...
 
- Public Member Functions inherited from fm.liveswitch.IViewableMedia< TView >
abstract String getId ()
 Gets the identifier. More...
 

Protected Member Functions

abstract fm.liveswitch.AudioSink createAudioRecorder (fm.liveswitch.AudioFormat inputFormat)
 Creates an audio recorder. More...
 
abstract fm.liveswitch.AudioSink createAudioSink (fm.liveswitch.AudioConfig config)
 Creates an audio sink. More...
 
fm.liveswitch.AudioSynchronizer createAudioSynchronizer (fm.liveswitch.AudioFormat format)
 Creates an audio synchronizer. More...
 
fm.liveswitch.AudioDecoder createG722Decoder (fm.liveswitch.AudioConfig config)
 Creates a G.722 decoder. More...
 
fm.liveswitch.AudioPipe createG722Depacketizer (fm.liveswitch.AudioConfig config)
 Creates a G.722 depacketizer. More...
 
abstract fm.liveswitch.VideoDecoder createH264Decoder ()
 Creates an H.264 decoder. More...
 
fm.liveswitch.VideoDecoder[] createH264Decoders ()
 Creates H.264 decoders. More...
 
fm.liveswitch.VideoPipe createH264Depacketizer ()
 Creates an H.264 depacketizer. More...
 
fm.liveswitch.VideoPipe[] createH264Depacketizers ()
 Creates H.264 depacketizers. More...
 
fm.liveswitch.VideoDecoder createH265Decoder ()
 Creates a H.265 decoder. More...
 
fm.liveswitch.VideoPipe createH265Depacketizer ()
 Creates a H.265 depacketizer. More...
 
abstract fm.liveswitch.VideoPipe createImageConverter (fm.liveswitch.VideoFormat outputFormat)
 Creates an image converter. More...
 
fm.liveswitch.AudioDecoder createL16Decoder (fm.liveswitch.AudioConfig config)
 Creates a PCMA decoder. More...
 
fm.liveswitch.AudioPipe createL16Depacketizer (fm.liveswitch.AudioConfig config)
 Creates a L16 depacketizer. More...
 
abstract fm.liveswitch.AudioDecoder createOpusDecoder (fm.liveswitch.AudioConfig config)
 Creates an Opus decoder. More...
 
fm.liveswitch.AudioPipe createOpusDepacketizer (fm.liveswitch.AudioConfig config)
 Creates an Opus depacketizer. More...
 
fm.liveswitch.AudioDecoder createPcmaDecoder (fm.liveswitch.AudioConfig config)
 Creates a PCMA decoder. More...
 
fm.liveswitch.AudioPipe createPcmaDepacketizer (fm.liveswitch.AudioConfig config)
 Creates a PCMA depacketizer. More...
 
fm.liveswitch.AudioDecoder createPcmuDecoder (fm.liveswitch.AudioConfig config)
 Creates a PCMU decoder. More...
 
fm.liveswitch.AudioPipe createPcmuDepacketizer (fm.liveswitch.AudioConfig config)
 Creates a PCMU depacketizer. More...
 
fm.liveswitch.AudioPipe createSoundConverter (fm.liveswitch.AudioConfig config)
 Creates a sound converter. More...
 
abstract fm.liveswitch.VideoSink createVideoRecorder (fm.liveswitch.VideoFormat inputFormat)
 Creates a video recorder. More...
 
fm.liveswitch.VideoSynchronizer createVideoSynchronizer (fm.liveswitch.VideoFormat format)
 Creates a video synchronizer. More...
 
abstract fm.liveswitch.ViewSink< TView > createViewSink ()
 Creates a view sink. More...
 
abstract fm.liveswitch.VideoDecoder createVp8Decoder ()
 Creates a VP8 decoder. More...
 
fm.liveswitch.VideoPipe createVp8Depacketizer ()
 Creates a VP8 depacketizer. More...
 
abstract fm.liveswitch.VideoDecoder createVp9Decoder ()
 Creates a VP9 decoder. More...
 
fm.liveswitch.VideoPipe createVp9Depacketizer ()
 Creates a VP9 depacketizer. More...
 
void setDepacketizerDisabled (boolean value)
 Sets a value indicating whether the depacketizer is disabled. More...
 
- Protected Member Functions inherited from fm.liveswitch.RemoteMedia
fm.liveswitch.AudioTrack[] arrayFromAudioTracks (java.util.ArrayList< fm.liveswitch.AudioTrack > tracks)
 Creates an array of tracks from a list of audio tracks. More...
 
fm.liveswitch.VideoTrack[] arrayFromVideoTracks (java.util.ArrayList< fm.liveswitch.VideoTrack > tracks)
 Creates an array of tracks from a list of video tracks. More...
 
java.util.ArrayList< fm.liveswitch.AudioTrackcreateAudioTrackCollection ()
 Creates an audio track collection. More...
 
java.util.ArrayList< fm.liveswitch.VideoTrackcreateVideoTrackCollection ()
 Creates a video track collection. More...
 
- Protected Member Functions inherited from fm.liveswitch.Media< fm.liveswitch.AudioTrack, fm.liveswitch.VideoTrack >
void addAudioTrack (TAudioTrack audioTrack)
 Adds an audio track. More...
 
void addVideoTrack (TVideoTrack videoTrack)
 Adds a video track. More...
 
abstract TAudioTrack[] arrayFromAudioTracks (java.util.ArrayList< TAudioTrack > tracks)
 Creates an array of tracks from a list of audio tracks. More...
 
abstract TVideoTrack[] arrayFromVideoTracks (java.util.ArrayList< TVideoTrack > tracks)
 Creates an array of tracks from a list of video tracks. More...
 
abstract java.util.ArrayList< TAudioTrack > createAudioTrackCollection ()
 Creates an audio track collection. More...
 
abstract java.util.ArrayList< TVideoTrack > createVideoTrackCollection ()
 Creates a video track collection. More...
 
boolean removeAudioTrack (TAudioTrack audioTrack)
 Removes an audio track. More...
 
boolean removeVideoTrack (TVideoTrack videoTrack)
 Removes a video track. More...
 
void setIsRecordingAudio (boolean value)
 Sets whether audio is being recorded locally. More...
 
void setIsRecordingVideo (boolean value)
 Sets whether video is being recorded locally. More...
 

Detailed Description

A WebRTC/ORTC-compatible collection of remote audio/video tracks.

Constructor & Destructor Documentation

◆ RtcRemoteMedia() [1/2]

fm.liveswitch.RtcRemoteMedia< TView >.RtcRemoteMedia ( boolean  disableAudio,
boolean  disableVideo 
)

Initializes a new instance of the fm.liveswitch.RtcRemoteMedia class.

Parameters
disableAudioWhether to disable audio.
disableVideoWhether to disable video.

◆ RtcRemoteMedia() [2/2]

fm.liveswitch.RtcRemoteMedia< TView >.RtcRemoteMedia ( boolean  disableAudio,
boolean  disableVideo,
fm.liveswitch.AecContext  aecContext 
)

Initializes a new instance of the fm.liveswitch.RtcRemoteMedia class.

Parameters
disableAudioWhether to disable audio.
disableVideoWhether to disable video.
aecContextThe acoustic echo cancellation context.

Member Function Documentation

◆ addOnActiveAudioConverterChange()

void fm.liveswitch.RtcRemoteMedia< TView >.addOnActiveAudioConverterChange ( fm.liveswitch.IAction1< fm.liveswitch.AudioPipe value)

Adds a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveAudioConverter changes.

◆ addOnActiveAudioDecoderChange()

void fm.liveswitch.RtcRemoteMedia< TView >.addOnActiveAudioDecoderChange ( fm.liveswitch.IAction1< fm.liveswitch.AudioDecoder value)

Adds a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveAudioDecoder changes.

◆ addOnActiveAudioDepacketizerChange()

void fm.liveswitch.RtcRemoteMedia< TView >.addOnActiveAudioDepacketizerChange ( fm.liveswitch.IAction1< fm.liveswitch.AudioPipe value)

Adds a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveAudioDepacketizer changes.

◆ addOnActiveAudioSinkChange()

void fm.liveswitch.RtcRemoteMedia< TView >.addOnActiveAudioSinkChange ( fm.liveswitch.IAction1< fm.liveswitch.AudioSink value)

Adds a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveAudioSink changes.

◆ addOnActiveAudioSynchronizerChange()

void fm.liveswitch.RtcRemoteMedia< TView >.addOnActiveAudioSynchronizerChange ( fm.liveswitch.IAction1< fm.liveswitch.AudioSynchronizer value)

Adds a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveAudioSynchronizer changes.

◆ addOnActiveVideoConverterChange()

void fm.liveswitch.RtcRemoteMedia< TView >.addOnActiveVideoConverterChange ( fm.liveswitch.IAction1< fm.liveswitch.VideoPipe value)

Adds a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveVideoConverter changes.

◆ addOnActiveVideoDecoderChange()

void fm.liveswitch.RtcRemoteMedia< TView >.addOnActiveVideoDecoderChange ( fm.liveswitch.IAction1< fm.liveswitch.VideoDecoder value)

Adds a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveVideoDecoder changes.

◆ addOnActiveVideoDepacketizerChange()

void fm.liveswitch.RtcRemoteMedia< TView >.addOnActiveVideoDepacketizerChange ( fm.liveswitch.IAction1< fm.liveswitch.VideoPipe value)

Adds a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveVideoDepacketizer changes.

◆ addOnActiveVideoSynchronizerChange()

void fm.liveswitch.RtcRemoteMedia< TView >.addOnActiveVideoSynchronizerChange ( fm.liveswitch.IAction1< fm.liveswitch.VideoSynchronizer value)

Adds a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveVideoSynchronizer changes.

◆ createAudioRecorder()

abstract fm.liveswitch.AudioSink fm.liveswitch.RtcRemoteMedia< TView >.createAudioRecorder ( fm.liveswitch.AudioFormat  inputFormat)
abstractprotected

Creates an audio recorder.

Parameters
inputFormatThe input format.

◆ createAudioSink()

abstract fm.liveswitch.AudioSink fm.liveswitch.RtcRemoteMedia< TView >.createAudioSink ( fm.liveswitch.AudioConfig  config)
abstractprotected

Creates an audio sink.

Parameters
configThe configuration.

◆ createAudioSynchronizer()

fm.liveswitch.AudioSynchronizer fm.liveswitch.RtcRemoteMedia< TView >.createAudioSynchronizer ( fm.liveswitch.AudioFormat  format)
protected

Creates an audio synchronizer.

Parameters
formatThe format.

◆ createG722Decoder()

fm.liveswitch.AudioDecoder fm.liveswitch.RtcRemoteMedia< TView >.createG722Decoder ( fm.liveswitch.AudioConfig  config)
protected

Creates a G.722 decoder.

Parameters
configThe configuration.

◆ createG722Depacketizer()

fm.liveswitch.AudioPipe fm.liveswitch.RtcRemoteMedia< TView >.createG722Depacketizer ( fm.liveswitch.AudioConfig  config)
protected

Creates a G.722 depacketizer.

Parameters
configThe configuration.

◆ createH264Decoder()

abstract fm.liveswitch.VideoDecoder fm.liveswitch.RtcRemoteMedia< TView >.createH264Decoder ( )
abstractprotected

Creates an H.264 decoder.

◆ createH264Decoders()

fm.liveswitch.VideoDecoder [] fm.liveswitch.RtcRemoteMedia< TView >.createH264Decoders ( )
protected

Creates H.264 decoders.

◆ createH264Depacketizer()

fm.liveswitch.VideoPipe fm.liveswitch.RtcRemoteMedia< TView >.createH264Depacketizer ( )
protected

Creates an H.264 depacketizer.

◆ createH264Depacketizers()

fm.liveswitch.VideoPipe [] fm.liveswitch.RtcRemoteMedia< TView >.createH264Depacketizers ( )
protected

Creates H.264 depacketizers.

◆ createH265Decoder()

fm.liveswitch.VideoDecoder fm.liveswitch.RtcRemoteMedia< TView >.createH265Decoder ( )
protected

Creates a H.265 decoder.

◆ createH265Depacketizer()

fm.liveswitch.VideoPipe fm.liveswitch.RtcRemoteMedia< TView >.createH265Depacketizer ( )
protected

Creates a H.265 depacketizer.

◆ createImageConverter()

abstract fm.liveswitch.VideoPipe fm.liveswitch.RtcRemoteMedia< TView >.createImageConverter ( fm.liveswitch.VideoFormat  outputFormat)
abstractprotected

Creates an image converter.

Parameters
outputFormatThe output format.

◆ createL16Decoder()

Creates a PCMA decoder.

Parameters
configThe configuration.

◆ createL16Depacketizer()

fm.liveswitch.AudioPipe fm.liveswitch.RtcRemoteMedia< TView >.createL16Depacketizer ( fm.liveswitch.AudioConfig  config)
protected

Creates a L16 depacketizer.

Parameters
configThe configuration.

◆ createOpusDecoder()

abstract fm.liveswitch.AudioDecoder fm.liveswitch.RtcRemoteMedia< TView >.createOpusDecoder ( fm.liveswitch.AudioConfig  config)
abstractprotected

Creates an Opus decoder.

Parameters
configThe configuration.

◆ createOpusDepacketizer()

fm.liveswitch.AudioPipe fm.liveswitch.RtcRemoteMedia< TView >.createOpusDepacketizer ( fm.liveswitch.AudioConfig  config)
protected

Creates an Opus depacketizer.

Parameters
configThe configuration.

◆ createPcmaDecoder()

fm.liveswitch.AudioDecoder fm.liveswitch.RtcRemoteMedia< TView >.createPcmaDecoder ( fm.liveswitch.AudioConfig  config)
protected

Creates a PCMA decoder.

Parameters
configThe configuration.

◆ createPcmaDepacketizer()

fm.liveswitch.AudioPipe fm.liveswitch.RtcRemoteMedia< TView >.createPcmaDepacketizer ( fm.liveswitch.AudioConfig  config)
protected

Creates a PCMA depacketizer.

Parameters
configThe configuration.

◆ createPcmuDecoder()

fm.liveswitch.AudioDecoder fm.liveswitch.RtcRemoteMedia< TView >.createPcmuDecoder ( fm.liveswitch.AudioConfig  config)
protected

Creates a PCMU decoder.

Parameters
configThe configuration.

◆ createPcmuDepacketizer()

fm.liveswitch.AudioPipe fm.liveswitch.RtcRemoteMedia< TView >.createPcmuDepacketizer ( fm.liveswitch.AudioConfig  config)
protected

Creates a PCMU depacketizer.

Parameters
configThe configuration.

◆ createSoundConverter()

fm.liveswitch.AudioPipe fm.liveswitch.RtcRemoteMedia< TView >.createSoundConverter ( fm.liveswitch.AudioConfig  config)
protected

Creates a sound converter.

Parameters
configThe configuration.

◆ createVideoRecorder()

abstract fm.liveswitch.VideoSink fm.liveswitch.RtcRemoteMedia< TView >.createVideoRecorder ( fm.liveswitch.VideoFormat  inputFormat)
abstractprotected

Creates a video recorder.

Parameters
inputFormatThe output format.

◆ createVideoSynchronizer()

fm.liveswitch.VideoSynchronizer fm.liveswitch.RtcRemoteMedia< TView >.createVideoSynchronizer ( fm.liveswitch.VideoFormat  format)
protected

Creates a video synchronizer.

Parameters
formatThe format.

◆ createViewSink()

abstract fm.liveswitch.ViewSink<TView> fm.liveswitch.RtcRemoteMedia< TView >.createViewSink ( )
abstractprotected

Creates a view sink.

◆ createVp8Decoder()

abstract fm.liveswitch.VideoDecoder fm.liveswitch.RtcRemoteMedia< TView >.createVp8Decoder ( )
abstractprotected

Creates a VP8 decoder.

◆ createVp8Depacketizer()

fm.liveswitch.VideoPipe fm.liveswitch.RtcRemoteMedia< TView >.createVp8Depacketizer ( )
protected

Creates a VP8 depacketizer.

◆ createVp9Decoder()

abstract fm.liveswitch.VideoDecoder fm.liveswitch.RtcRemoteMedia< TView >.createVp9Decoder ( )
abstractprotected

Creates a VP9 decoder.

◆ createVp9Depacketizer()

fm.liveswitch.VideoPipe fm.liveswitch.RtcRemoteMedia< TView >.createVp9Depacketizer ( )
protected

Creates a VP9 depacketizer.

◆ destroy()

void fm.liveswitch.RtcRemoteMedia< TView >.destroy ( )

Destroys all media tracks.

◆ getActiveAudioConverter()

fm.liveswitch.AudioPipe fm.liveswitch.RtcRemoteMedia< TView >.getActiveAudioConverter ( )

Gets the active audio converter.

◆ getActiveAudioDecoder()

fm.liveswitch.AudioDecoder fm.liveswitch.RtcRemoteMedia< TView >.getActiveAudioDecoder ( )

Gets the active audio decoder.

◆ getActiveAudioDepacketizer()

fm.liveswitch.AudioPipe fm.liveswitch.RtcRemoteMedia< TView >.getActiveAudioDepacketizer ( )

Gets the active audio depacketizer.

◆ getActiveAudioSink()

fm.liveswitch.AudioSink fm.liveswitch.RtcRemoteMedia< TView >.getActiveAudioSink ( )

Gets the active audio sink.

◆ getActiveAudioSynchronizer()

fm.liveswitch.AudioSynchronizer fm.liveswitch.RtcRemoteMedia< TView >.getActiveAudioSynchronizer ( )

Gets the active audio synchronizer.

◆ getActiveVideoConverter()

fm.liveswitch.VideoPipe fm.liveswitch.RtcRemoteMedia< TView >.getActiveVideoConverter ( )

Gets the active video converter.

◆ getActiveVideoDecoder()

fm.liveswitch.VideoDecoder fm.liveswitch.RtcRemoteMedia< TView >.getActiveVideoDecoder ( )

Gets the active video decoder.

◆ getActiveVideoDepacketizer()

fm.liveswitch.VideoPipe fm.liveswitch.RtcRemoteMedia< TView >.getActiveVideoDepacketizer ( )

Gets the active video depacketizer.

◆ getActiveVideoSynchronizer()

fm.liveswitch.VideoSynchronizer fm.liveswitch.RtcRemoteMedia< TView >.getActiveVideoSynchronizer ( )

Gets the active video synchronizer.

◆ getAecContext()

Gets the acoustic echo cancellation context.

◆ getAecDisabled()

boolean fm.liveswitch.RtcRemoteMedia< TView >.getAecDisabled ( )

Gets a value indicating whether acoustic echo cancellation is disabled.

◆ getAudioDisabled()

boolean fm.liveswitch.RtcRemoteMedia< TView >.getAudioDisabled ( )

Gets a value indicating whether audio is disabled.

◆ getAudioInputs()

Gets the audio inputs.

◆ getDepacketizerDisabled()

boolean fm.liveswitch.RtcRemoteMedia< TView >.getDepacketizerDisabled ( )

Gets a value indicating whether the depacketizer is disabled.

WebRTC media requires the RTP depacketizer so the value must be

false

. Media-over-WebSockets must not use the RTP depacketizer, so the value must be

true

. If the depacketizer is not required, this value must be set in the constructor.

◆ getG722Converter()

Gets the G.722 converter.

◆ getG722Decoder()

Gets the G.722 decoder.

◆ getG722Depacketizer()

fm.liveswitch.AudioPipe fm.liveswitch.RtcRemoteMedia< TView >.getG722Depacketizer ( )

Gets the G.722 depacketizer.

◆ getG722Disabled()

boolean fm.liveswitch.RtcRemoteMedia< TView >.getG722Disabled ( )

Gets whether the G.722 codec is disabled.

◆ getG722Sink()

Gets the G.722 sink.

◆ getG722Synchronizer()

Gets the G.722 synchronizer.

◆ getH264Converter()

Gets the H.264 converter.

◆ getH264Converters()

fm.liveswitch.VideoPipe [] fm.liveswitch.RtcRemoteMedia< TView >.getH264Converters ( )

Gets the H.264 converters.

◆ getH264Decoder()

Gets first the H.264 decoder.

◆ getH264Decoders()

Gets the H.264 decoders.

◆ getH264Depacketizer()

fm.liveswitch.VideoPipe fm.liveswitch.RtcRemoteMedia< TView >.getH264Depacketizer ( )

Gets the first H.264 depacketizer.

◆ getH264Depacketizers()

fm.liveswitch.VideoPipe [] fm.liveswitch.RtcRemoteMedia< TView >.getH264Depacketizers ( )

Gets the first H.264 depacketizers.

◆ getH264DepacketizersArray()

fm.liveswitch.VideoPipe [][] fm.liveswitch.RtcRemoteMedia< TView >.getH264DepacketizersArray ( )

Gets the H.264 depacketizers array.

◆ getH264Disabled()

boolean fm.liveswitch.RtcRemoteMedia< TView >.getH264Disabled ( )

Gets whether the H.264 codec is disabled.

◆ getH264Synchronizer()

Gets the H.264 synchronizer.

◆ getH264Synchronizers()

fm.liveswitch.VideoSynchronizer [] fm.liveswitch.RtcRemoteMedia< TView >.getH264Synchronizers ( )

Gets the H.264 synchronizers.

◆ getH265Converter()

Gets the H.265 converter.

◆ getH265Decoder()

Gets the H.265 decoder.

◆ getH265Depacketizer()

fm.liveswitch.VideoPipe fm.liveswitch.RtcRemoteMedia< TView >.getH265Depacketizer ( )

Gets the H.265 depacketizer.

◆ getH265Disabled()

boolean fm.liveswitch.RtcRemoteMedia< TView >.getH265Disabled ( )

Gets whether the H.265 codec is disabled.

◆ getH265Synchronizer()

Gets the H.265 synchronizer.

◆ getL16Converter()

Gets the L16 converter.

◆ getL16Decoder()

Gets the L16 decoder.

◆ getL16Depacketizer()

fm.liveswitch.AudioPipe fm.liveswitch.RtcRemoteMedia< TView >.getL16Depacketizer ( )

Gets the L16 depacketizer.

◆ getL16Disabled()

boolean fm.liveswitch.RtcRemoteMedia< TView >.getL16Disabled ( )

Gets whether the L16 codec is disabled.

◆ getL16Sink()

Gets the L16 sink.

◆ getL16Synchronizer()

Gets the L16 synchronizer.

◆ getOpusConverter()

Gets the Opus converter.

◆ getOpusDecoder()

Gets the Opus decoder.

◆ getOpusDepacketizer()

fm.liveswitch.AudioPipe fm.liveswitch.RtcRemoteMedia< TView >.getOpusDepacketizer ( )

Gets the Opus depacketizer.

◆ getOpusDisabled()

boolean fm.liveswitch.RtcRemoteMedia< TView >.getOpusDisabled ( )

Gets whether the Opus codec is disabled.

◆ getOpusSink()

Gets the Opus sink.

◆ getOpusSynchronizer()

Gets the Opus synchronizer.

◆ getPcmaConverter()

Gets the PCMA converter.

◆ getPcmaDecoder()

Gets the PCMA decoder.

◆ getPcmaDepacketizer()

fm.liveswitch.AudioPipe fm.liveswitch.RtcRemoteMedia< TView >.getPcmaDepacketizer ( )

Gets the PCMA depacketizer.

◆ getPcmaDisabled()

boolean fm.liveswitch.RtcRemoteMedia< TView >.getPcmaDisabled ( )

Gets whether the PCMA codec is disabled.

◆ getPcmaSink()

Gets the PCMA sink.

◆ getPcmaSynchronizer()

Gets the PCMA synchronizer.

◆ getPcmuConverter()

Gets the PCMU converter.

◆ getPcmuDecoder()

Gets the PCMU decoder.

◆ getPcmuDepacketizer()

fm.liveswitch.AudioPipe fm.liveswitch.RtcRemoteMedia< TView >.getPcmuDepacketizer ( )

Gets the PCMU depacketizer.

◆ getPcmuDisabled()

boolean fm.liveswitch.RtcRemoteMedia< TView >.getPcmuDisabled ( )

Gets whether the PCMU codec is disabled.

◆ getPcmuSink()

Gets the PCMU sink.

◆ getPcmuSynchronizer()

Gets the PCMU synchronizer.

◆ getVideoDisabled()

boolean fm.liveswitch.RtcRemoteMedia< TView >.getVideoDisabled ( )

Gets a value indicating whether video is disabled.

◆ getVideoInputs()

Gets the video inputs.

◆ getView()

TView fm.liveswitch.RtcRemoteMedia< TView >.getView ( )

Gets the video view, if video is not disabled.

Implements fm.liveswitch.IViewableMedia< TView >.

◆ getViewSink()

fm.liveswitch.ViewSink<TView> fm.liveswitch.RtcRemoteMedia< TView >.getViewSink ( )

Gets the video view sink, if video is not disabled.

◆ getVp8Converter()

Gets the VP8 converter.

◆ getVp8Decoder()

Gets the VP8 decoder.

◆ getVp8Depacketizer()

fm.liveswitch.VideoPipe fm.liveswitch.RtcRemoteMedia< TView >.getVp8Depacketizer ( )

Gets the VP8 depacketizer.

◆ getVp8Disabled()

boolean fm.liveswitch.RtcRemoteMedia< TView >.getVp8Disabled ( )

Gets whether the VP8 codec is disabled.

◆ getVp8Synchronizer()

Gets the VP8 synchronizer.

◆ getVp9Converter()

Gets the VP9 converter.

◆ getVp9Decoder()

Gets the VP9 decoder.

◆ getVp9Depacketizer()

fm.liveswitch.VideoPipe fm.liveswitch.RtcRemoteMedia< TView >.getVp9Depacketizer ( )

Gets the VP9 depacketizer.

◆ getVp9Disabled()

boolean fm.liveswitch.RtcRemoteMedia< TView >.getVp9Disabled ( )

Gets whether the VP9 codec is disabled.

◆ getVp9Synchronizer()

Gets the VP9 synchronizer.

◆ initialize() [1/2]

boolean fm.liveswitch.RtcRemoteMedia< TView >.initialize ( )

Initializes this instance.

Must be called before being used.

◆ initialize() [2/2]

boolean fm.liveswitch.RtcRemoteMedia< TView >.initialize ( fm.liveswitch.RtcAudioTrackConfig  audioTrackConfig,
fm.liveswitch.RtcVideoTrackConfig  videoTrackConfig 
)

Initializes this instance.

Must be called before being used.

◆ removeOnActiveAudioConverterChange()

void fm.liveswitch.RtcRemoteMedia< TView >.removeOnActiveAudioConverterChange ( fm.liveswitch.IAction1< fm.liveswitch.AudioPipe value)

Removes a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveAudioConverter changes.

◆ removeOnActiveAudioDecoderChange()

void fm.liveswitch.RtcRemoteMedia< TView >.removeOnActiveAudioDecoderChange ( fm.liveswitch.IAction1< fm.liveswitch.AudioDecoder value)

Removes a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveAudioDecoder changes.

◆ removeOnActiveAudioDepacketizerChange()

void fm.liveswitch.RtcRemoteMedia< TView >.removeOnActiveAudioDepacketizerChange ( fm.liveswitch.IAction1< fm.liveswitch.AudioPipe value)

Removes a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveAudioDepacketizer changes.

◆ removeOnActiveAudioSinkChange()

void fm.liveswitch.RtcRemoteMedia< TView >.removeOnActiveAudioSinkChange ( fm.liveswitch.IAction1< fm.liveswitch.AudioSink value)

Removes a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveAudioSink changes.

◆ removeOnActiveAudioSynchronizerChange()

void fm.liveswitch.RtcRemoteMedia< TView >.removeOnActiveAudioSynchronizerChange ( fm.liveswitch.IAction1< fm.liveswitch.AudioSynchronizer value)

Removes a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveAudioSynchronizer changes.

◆ removeOnActiveVideoConverterChange()

void fm.liveswitch.RtcRemoteMedia< TView >.removeOnActiveVideoConverterChange ( fm.liveswitch.IAction1< fm.liveswitch.VideoPipe value)

Removes a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveVideoConverter changes.

◆ removeOnActiveVideoDecoderChange()

void fm.liveswitch.RtcRemoteMedia< TView >.removeOnActiveVideoDecoderChange ( fm.liveswitch.IAction1< fm.liveswitch.VideoDecoder value)

Removes a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveVideoDecoder changes.

◆ removeOnActiveVideoDepacketizerChange()

void fm.liveswitch.RtcRemoteMedia< TView >.removeOnActiveVideoDepacketizerChange ( fm.liveswitch.IAction1< fm.liveswitch.VideoPipe value)

Removes a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveVideoDepacketizer changes.

◆ removeOnActiveVideoSynchronizerChange()

void fm.liveswitch.RtcRemoteMedia< TView >.removeOnActiveVideoSynchronizerChange ( fm.liveswitch.IAction1< fm.liveswitch.VideoSynchronizer value)

Removes a handler that is raised when the fm.liveswitch.RtcRemoteMedia#getActiveVideoSynchronizer changes.

◆ setDepacketizerDisabled()

void fm.liveswitch.RtcRemoteMedia< TView >.setDepacketizerDisabled ( boolean  value)
protected

Sets a value indicating whether the depacketizer is disabled.

WebRTC media requires the RTP depacketizer so the value must be

false

. Media-over-WebSockets must not use the RTP depacketizer, so the value must be

true

. If the depacketizer is not required, this value must be set in the constructor.

◆ toggleAudioRecording()

boolean fm.liveswitch.RtcRemoteMedia< TView >.toggleAudioRecording ( )

Toggles audio recording.

◆ toggleVideoRecording()

boolean fm.liveswitch.RtcRemoteMedia< TView >.toggleVideoRecording ( )

Toggles video recording.