fm.liveswitch.IMediaElement Interface Reference

A media element. More...

Public Member Functions

abstract boolean destroy ()
 Destroys this instance. More...
 
abstract boolean getDeactivated ()
 Gets a value indicating whether this instance is deactivated. More...
 
abstract boolean getDisabled ()
 Gets a value indicating whether this instance is disabled. More...
 
abstract String getLabel ()
 Gets a label that identifies this instance. More...
 
abstract boolean getMuted ()
 Gets a value indicating whether this instance is muted. More...
 
abstract boolean getPaused ()
 Gets a value indicating whether this instance is paused. More...
 
abstract boolean getPersistent ()
 Gets a value indicating whether this instance is persistent. More...
 
abstract void setDeactivated (boolean value)
 Sets a value indicating whether this instance is deactivated. More...
 
abstract void setMuted (boolean value)
 Sets a value indicating whether this instance is muted. More...
 
- Public Member Functions inherited from fm.liveswitch.IElement
abstract String getExternalId ()
 Gets the external identifier. More...
 
abstract String getId ()
 Gets the identifier. More...
 
abstract String getPipelineJson ()
 Gets the pipeline JSON with this as the central point. More...
 
abstract void setExternalId (String value)
 Sets the external identifier. More...
 

Detailed Description

A media element.

Member Function Documentation

◆ destroy()

abstract boolean fm.liveswitch.IMediaElement.destroy ( )
abstract

◆ getDeactivated()

abstract boolean fm.liveswitch.IMediaElement.getDeactivated ( )
abstract

Gets a value indicating whether this instance is deactivated.

◆ getDisabled()

abstract boolean fm.liveswitch.IMediaElement.getDisabled ( )
abstract

Gets a value indicating whether this instance is disabled.

Implemented in fm.liveswitch.dtmf.Receiver.

◆ getLabel()

abstract String fm.liveswitch.IMediaElement.getLabel ( )
abstract

Gets a label that identifies this instance.

Implemented in fm.liveswitch.yuv4mpeg.VideoSource, fm.liveswitch.yuv4mpeg.VideoSink, fm.liveswitch.wave.AudioSink, fm.liveswitch.vp9.Packetizer, fm.liveswitch.vp8.Packetizer, fm.liveswitch.VideoTrack, fm.liveswitch.VideoSynchronizer, fm.liveswitch.VideoBranch, fm.liveswitch.SoundReframer, fm.liveswitch.SoundConverter, fm.liveswitch.ResetVideoPipe, fm.liveswitch.ResetAudioPipe, fm.liveswitch.pcmu.Packetizer, fm.liveswitch.pcmu.Encoder, fm.liveswitch.pcmu.Depacketizer, fm.liveswitch.pcmu.Decoder, fm.liveswitch.pcma.Packetizer, fm.liveswitch.pcma.Encoder, fm.liveswitch.pcma.Depacketizer, fm.liveswitch.pcma.Decoder, fm.liveswitch.opus.Packetizer, fm.liveswitch.opus.Depacketizer, fm.liveswitch.ogg.AudioSink, fm.liveswitch.NullViewSink< T >, fm.liveswitch.NullVideoSource, fm.liveswitch.NullVideoSink, fm.liveswitch.NullAudioSource, fm.liveswitch.NullAudioSink, fm.liveswitch.matroska.VideoSource, fm.liveswitch.matroska.VideoSink, fm.liveswitch.matroska.AudioSource, fm.liveswitch.matroska.AudioSink, fm.liveswitch.l16.Encoder, fm.liveswitch.l16.Decoder, fm.liveswitch.JitterVideoPipe, fm.liveswitch.JitterAudioPipe, fm.liveswitch.ivf.VideoSink, fm.liveswitch.ImageSizePipe, fm.liveswitch.ImageScalePipe, fm.liveswitch.IdentityVideoPipe, fm.liveswitch.IdentityAudioPipe, fm.liveswitch.h265.Packetizer, fm.liveswitch.h264.Packetizer, fm.liveswitch.g722.Packetizer, fm.liveswitch.g722.Encoder, fm.liveswitch.g722.Depacketizer, fm.liveswitch.g722.Decoder, fm.liveswitch.FrameRatePipe, fm.liveswitch.FrameRateController, fm.liveswitch.FakeVideoSource, fm.liveswitch.FakeAudioSource, fm.liveswitch.dtmf.Sender, fm.liveswitch.dtmf.Receiver, fm.liveswitch.BasicVideoPacketizer, fm.liveswitch.BasicAudioPacketizer, fm.liveswitch.BasicAudioDepacketizer, fm.liveswitch.AudioTrack, fm.liveswitch.AudioSynchronizer, fm.liveswitch.AudioMixer, fm.liveswitch.AudioBranch, fm.liveswitch.yuv.ImageScaler, fm.liveswitch.yuv.ImageConverter, fm.liveswitch.vp9.Encoder, fm.liveswitch.vp9.Decoder, fm.liveswitch.vp8.Encoder, fm.liveswitch.vp8.Decoder, fm.liveswitch.opus.Encoder, fm.liveswitch.opus.Decoder, fm.liveswitch.openh264.Encoder, fm.liveswitch.openh264.Decoder, fm.liveswitch.java.SoundSource, fm.liveswitch.java.SoundSink, fm.liveswitch.java.ScreenSource, fm.liveswitch.java.sarxos.VideoSource, fm.liveswitch.audioprocessing.AecProcessor, fm.liveswitch.android.ViewSource, fm.liveswitch.android.MediaProjectionSource, fm.liveswitch.android.MediaCodecEncoder, fm.liveswitch.android.MediaCodecDecoder, fm.liveswitch.android.CameraSource, fm.liveswitch.android.Camera2Source, fm.liveswitch.android.AudioTrackSink, fm.liveswitch.android.AudioRecordSource2, and fm.liveswitch.android.AudioRecordSource.

◆ getMuted()

abstract boolean fm.liveswitch.IMediaElement.getMuted ( )
abstract

Gets a value indicating whether this instance is muted.

◆ getPaused()

abstract boolean fm.liveswitch.IMediaElement.getPaused ( )
abstract

Gets a value indicating whether this instance is paused.

◆ getPersistent()

abstract boolean fm.liveswitch.IMediaElement.getPersistent ( )
abstract

Gets a value indicating whether this instance is persistent.

If

true

, this element will not be destroyed unless fm.liveswitch.IMediaElement#destroy is called explicitly on this instance. It will survive destruction of any parent elements that are being destroyed.

◆ setDeactivated()

abstract void fm.liveswitch.IMediaElement.setDeactivated ( boolean  value)
abstract

Sets a value indicating whether this instance is deactivated.

◆ setMuted()

abstract void fm.liveswitch.IMediaElement.setMuted ( boolean  value)
abstract

Sets a value indicating whether this instance is muted.