fm.liveswitch.IVideoTrack Interface Reference

Video track interface. More...

Public Member Functions

abstract 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...
 
abstract void addOnSizeChange (fm.liveswitch.IAction1< fm.liveswitch.Size > value)
 Adds a handler that is raised whenever the video's frame size changes. More...
 
abstract fm.liveswitch.Size getSize ()
 Gets the size of the last processed video frame, if known. More...
 
abstract fm.liveswitch.Future< fm.liveswitch.VideoBuffergrabFrame ()
 Grabs the next raw video frame. More...
 
abstract 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...
 
abstract void removeOnSizeChange (fm.liveswitch.IAction1< fm.liveswitch.Size > value)
 Removes a handler that is raised whenever the video's frame size changes. More...
 
- Public Member Functions inherited from fm.liveswitch.IMediaTrack
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 destroy ()
 Destroys this media track. 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...
 

Detailed Description

Video track interface.

Member Function Documentation

◆ addOnSize()

abstract void fm.liveswitch.IVideoTrack.addOnSize ( fm.liveswitch.IAction1< fm.liveswitch.Size value)
abstract

Adds a handler that is raised whenever the video's frame size is known, once per frame.

Implemented in fm.liveswitch.VideoTrack.

◆ addOnSizeChange()

abstract void fm.liveswitch.IVideoTrack.addOnSizeChange ( fm.liveswitch.IAction1< fm.liveswitch.Size value)
abstract

Adds a handler that is raised whenever the video's frame size changes.

Implemented in fm.liveswitch.VideoTrack.

◆ getSize()

abstract fm.liveswitch.Size fm.liveswitch.IVideoTrack.getSize ( )
abstract

Gets the size of the last processed video frame, if known.

Implemented in fm.liveswitch.VideoTrack.

◆ grabFrame()

abstract fm.liveswitch.Future<fm.liveswitch.VideoBuffer> fm.liveswitch.IVideoTrack.grabFrame ( )
abstract

Grabs the next raw video frame.

Implemented in fm.liveswitch.VideoTrack.

◆ removeOnSize()

abstract void fm.liveswitch.IVideoTrack.removeOnSize ( fm.liveswitch.IAction1< fm.liveswitch.Size value)
abstract

Removes a handler that is raised whenever the video's frame size is known, once per frame.

Implemented in fm.liveswitch.VideoTrack.

◆ removeOnSizeChange()

abstract void fm.liveswitch.IVideoTrack.removeOnSizeChange ( fm.liveswitch.IAction1< fm.liveswitch.Size value)
abstract

Removes a handler that is raised whenever the video's frame size changes.

Implemented in fm.liveswitch.VideoTrack.