A video track. More...
Public Member Functions | |
| void | addOnSize (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 | addOnSizeChange (fm.liveswitch.IAction1< fm.liveswitch.Size > value) |
| Adds a handler that is raised whenever the video's frame size changes. More... | |
| boolean | destroy () |
| Destroys this media track. More... | |
| fm.liveswitch.IVideoElement[] | getElements () |
| Gets the elements. More... | |
| String | getLabel () |
| Gets a label that identifies this class. More... | |
| fm.liveswitch.Size | getSize () |
| Gets the size of the last processed video frame, if known. More... | |
| fm.liveswitch.Future< fm.liveswitch.VideoBuffer > | grabFrame () |
| Grabs the next raw video frame. More... | |
| void | removeOnSize (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 | removeOnSizeChange (fm.liveswitch.IAction1< fm.liveswitch.Size > value) |
| Removes a handler that is raised whenever the video's frame size changes. More... | |
| VideoTrack () | |
| Initializes a new instance of the fm.liveswitch.VideoTrack class. More... | |
| VideoTrack (fm.liveswitch.IVideoElement element) | |
| Initializes a new instance of the fm.liveswitch.VideoTrack class. More... | |
| VideoTrack (fm.liveswitch.VideoTrack[] tracks) | |
| Initializes a new instance of the fm.liveswitch.VideoTrack class. More... | |
Public Member Functions inherited from fm.liveswitch.MediaTrackBase | |
| abstract void | addOnDestroyed (fm.liveswitch.IAction0 value) |
| Adds a handler that is raised when the track is destroyed. More... | |
| abstract void | addOnMuted (fm.liveswitch.IAction0 value) |
| Adds a handler that is raised when the track is muted. More... | |
| abstract void | addOnStarted (fm.liveswitch.IAction0 value) |
| Adds a handler that is raised when the track is started. More... | |
| abstract void | addOnStopped (fm.liveswitch.IAction0 value) |
| Adds a handler that is raised when the track is stopped. More... | |
| abstract void | addOnUnmuted (fm.liveswitch.IAction0 value) |
| Adds a handler that is raised when the track is unmuted. More... | |
| abstract fm.liveswitch.Future< Object > | changeSinkOutput (fm.liveswitch.SinkOutput sinkOutput) |
| Changes the sink output while the media track is active. More... | |
| abstract fm.liveswitch.Future< Object > | changeSourceInput (fm.liveswitch.SourceInput sourceInput) |
| Changes the source input while the media track is active. More... | |
| abstract boolean | getMuted () |
| Gets a value indicating whether this track is muted. More... | |
| abstract fm.liveswitch.SinkOutput | getSinkOutput () |
| Gets the current sink output. More... | |
| abstract fm.liveswitch.Future< fm.liveswitch.SinkOutput[]> | getSinkOutputs () |
| Gets the available sink outputs. More... | |
| abstract fm.liveswitch.SourceInput | getSourceInput () |
| Gets the current source input. More... | |
| abstract fm.liveswitch.Future< fm.liveswitch.SourceInput[]> | getSourceInputs () |
| Gets the available source inputs. More... | |
| abstract void | removeOnDestroyed (fm.liveswitch.IAction0 value) |
| Removes a handler that is raised when the track is destroyed. More... | |
| abstract void | removeOnMuted (fm.liveswitch.IAction0 value) |
| Removes a handler that is raised when the track is muted. More... | |
| abstract void | removeOnStarted (fm.liveswitch.IAction0 value) |
| Removes a handler that is raised when the track is started. More... | |
| abstract void | removeOnStopped (fm.liveswitch.IAction0 value) |
| Removes a handler that is raised when the track is stopped. More... | |
| abstract void | removeOnUnmuted (fm.liveswitch.IAction0 value) |
| Removes a handler that is raised when the track is unmuted. More... | |
| abstract void | setMuted (boolean value) |
| Sets a value indicating whether this track is muted. More... | |
| abstract void | setSinkOutput (fm.liveswitch.SinkOutput value) |
| Sets the current sink output. More... | |
| abstract void | setSourceInput (fm.liveswitch.SourceInput value) |
| Sets the current source input. More... | |
Public Member Functions inherited from fm.liveswitch.Dynamic | |
| java.util.HashMap< String, Object > | getDynamicProperties () |
| Gets all dynamic properties on this instance. More... | |
| Object | getDynamicValue (String key) |
| Gets a property value from the local cache. More... | |
| void | setDynamicValue (String key, Object value) |
| Sets a property value in the local cache. More... | |
| boolean | unsetDynamicValue (String key) |
| Removes a property value from the local cache. More... | |
Public Member Functions inherited from fm.liveswitch.IMediaElement | |
| 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 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... | |
Protected Member Functions | |
| void | addElement (fm.liveswitch.IVideoElement element) |
| Adds an element. More... | |
| fm.liveswitch.IVideoInput[] | arrayFromInputs (java.util.ArrayList< fm.liveswitch.IVideoInput > inputs) |
| Creates an array of inputs from a list of inputs. More... | |
| fm.liveswitch.IVideoOutput[] | arrayFromOutputs (java.util.ArrayList< fm.liveswitch.IVideoOutput > outputs) |
| Creates an array of outputs from a list of outputs. More... | |
| fm.liveswitch.VideoSink[] | arrayFromSinks (java.util.ArrayList< fm.liveswitch.VideoSink > sinks) |
| Creates an array of sinks from a list of sinks. More... | |
| fm.liveswitch.VideoBranch | branchFromTracks (fm.liveswitch.VideoTrack[] tracks) |
| Creates a branch from an array of tracks. More... | |
| boolean | isBranch (fm.liveswitch.IVideoElement element) |
| Determines whether the specified element is a branch. More... | |
| boolean | isInput (fm.liveswitch.IVideoElement element) |
| Determines whether the specified element is an input. More... | |
| boolean | isOutput (fm.liveswitch.IVideoElement element) |
| Determines whether the specified element is an output. More... | |
| boolean | isPipe (fm.liveswitch.IVideoElement element) |
| Determines whether the specified element is a pipe. More... | |
| boolean | isSink (fm.liveswitch.IVideoElement element) |
| Determines whether the specified element is a sink. More... | |
| boolean | isSource (fm.liveswitch.IVideoElement element) |
| Determines whether the specified element is a source. More... | |
| boolean | isStream (fm.liveswitch.IVideoElement element) |
| Determines whether the specified element is a stream. More... | |
Protected Member Functions inherited from fm.liveswitch.MediaTrackBase | |
| MediaTrackBase () | |
Protected Member Functions inherited from fm.liveswitch.Dynamic | |
| Dynamic () | |
Protected Member Functions inherited from fm.liveswitch.Serializable | |
| boolean | getIsDirty () |
| Gets a value indicating whether this instance is dirty. More... | |
| Serializable () | |
| Initializes a new instance of the fm.liveswitch.Serializable class. More... | |
| void | setIsDirty (boolean value) |
| Sets a value indicating whether this instance is dirty. More... | |
A video track.
| fm.liveswitch.VideoTrack.VideoTrack | ( | ) |
Initializes a new instance of the fm.liveswitch.VideoTrack class.
| fm.liveswitch.VideoTrack.VideoTrack | ( | fm.liveswitch.IVideoElement | element | ) |
Initializes a new instance of the fm.liveswitch.VideoTrack class.
| element | The element. |
| fm.liveswitch.VideoTrack.VideoTrack | ( | fm.liveswitch.VideoTrack[] | tracks | ) |
Initializes a new instance of the fm.liveswitch.VideoTrack class.
| tracks | The branch of tracks. |
|
protected |
Adds an element.
| element |
| void fm.liveswitch.VideoTrack.addOnSize | ( | fm.liveswitch.IAction1< fm.liveswitch.Size > | value | ) |
Adds a handler that is raised whenever the video's frame size is known, once per frame.
Implements fm.liveswitch.IVideoTrack.
| void fm.liveswitch.VideoTrack.addOnSizeChange | ( | fm.liveswitch.IAction1< fm.liveswitch.Size > | value | ) |
Adds a handler that is raised whenever the video's frame size changes.
Implements fm.liveswitch.IVideoTrack.
|
protected |
Creates an array of inputs from a list of inputs.
| inputs | The list of inputs. |
|
protected |
Creates an array of outputs from a list of outputs.
| outputs | The list of outputs. |
|
protected |
Creates an array of sinks from a list of sinks.
| sinks | The list of sinks. |
|
protected |
Creates a branch from an array of tracks.
| tracks | The tracks. |
| boolean fm.liveswitch.VideoTrack.destroy | ( | ) |
Destroys this media track.
Implements fm.liveswitch.IMediaTrack.
| fm.liveswitch.IVideoElement [] fm.liveswitch.VideoTrack.getElements | ( | ) |
Gets the elements.
| String fm.liveswitch.VideoTrack.getLabel | ( | ) |
Gets a label that identifies this class.
Implements fm.liveswitch.IMediaElement.
| fm.liveswitch.Size fm.liveswitch.VideoTrack.getSize | ( | ) |
Gets the size of the last processed video frame, if known.
Implements fm.liveswitch.IVideoTrack.
| fm.liveswitch.Future<fm.liveswitch.VideoBuffer> fm.liveswitch.VideoTrack.grabFrame | ( | ) |
Grabs the next raw video frame.
Implements fm.liveswitch.IVideoTrack.
|
protected |
Determines whether the specified element is a branch.
| element | The element. |
|
protected |
Determines whether the specified element is an input.
| element | The element. |
|
protected |
Determines whether the specified element is an output.
| element | The element. |
|
protected |
Determines whether the specified element is a pipe.
| element | The element. |
|
protected |
Determines whether the specified element is a sink.
| element | The element. |
|
protected |
Determines whether the specified element is a source.
| element | The element. |
|
protected |
Determines whether the specified element is a stream.
| element | The element. |
| void fm.liveswitch.VideoTrack.removeOnSize | ( | fm.liveswitch.IAction1< fm.liveswitch.Size > | value | ) |
Removes a handler that is raised whenever the video's frame size is known, once per frame.
Implements fm.liveswitch.IVideoTrack.
| void fm.liveswitch.VideoTrack.removeOnSizeChange | ( | fm.liveswitch.IAction1< fm.liveswitch.Size > | value | ) |
Removes a handler that is raised whenever the video's frame size changes.
Implements fm.liveswitch.IVideoTrack.