A video view sink that does nothing. More...
Public Member Functions | |
long | getFrameCount () |
Gets the current frame count. More... | |
String | getLabel () |
Gets a label that identifies this class. More... | |
T | getView () |
Gets the view. More... | |
boolean | getViewMirror () |
Gets a value indicating whether the view is mirrored. More... | |
fm.liveswitch.LayoutScale | getViewScale () |
Gets the view scale. More... | |
NullViewSink () | |
Initializes a new instance of the fm.liveswitch.NullViewSink class. More... | |
NullViewSink (fm.liveswitch.VideoFormat inputFormat) | |
Initializes a new instance of the fm.liveswitch.NullViewSink class. More... | |
fm.liveswitch.Future< Object > | renderedFrames (long count) |
Creates a future that resolves when the specified number of frames have been processed. More... | |
void | setViewMirror (boolean value) |
Sets a value indicating whether the view is mirrored. More... | |
void | setViewScale (fm.liveswitch.LayoutScale value) |
Sets the view scale. More... | |
void | updateMaxInputBitrate (int maxInputBitrate) |
Sets the maximum allowed input bitrate, in kbps. More... | |
void | updateMinInputBitrate (int minInputBitrate) |
Sets the minimum allowed input bitrate, in kbps. More... | |
![]() | |
boolean | getIsRecording () |
Gets a value indicating whether a recording icon should be displayed. More... | |
void | setIsRecording (boolean value) |
Sets a value indicating whether a recording icon should be displayed. More... | |
ViewSink () | |
Initializes a new instance of the fm.liveswitch.ViewSink class. More... | |
ViewSink (fm.liveswitch.IVideoOutput input) | |
Initializes a new instance of the fm.liveswitch.ViewSink class. More... | |
ViewSink (fm.liveswitch.VideoFormat inputFormat) | |
Initializes a new instance of the fm.liveswitch.ViewSink class. More... | |
ViewSink (fm.liveswitch.IVideoOutput[] inputs) | |
Initializes a new instance of the fm.liveswitch.ViewSink class. More... | |
![]() | |
void | addOnProcessSizeChange (fm.liveswitch.IAction1< fm.liveswitch.Size > value) |
Adds a handler that is raised when a frame is about to be processed with a size that does not match the prior frame. More... | |
String | getContent () |
Gets the content descriptor. More... | |
fm.liveswitch.EncodingInfo | getMaxInputEncoding () |
Gets the maximum allowed input encoding. More... | |
double | getMaxInputFrameRate () |
Gets the maximum allowed input frame-rate, in fps. More... | |
int | getMaxInputHeight () |
Gets the maximum allowed input height. More... | |
double | getMaxInputScale () |
Gets the maximum allowed input scale. More... | |
fm.liveswitch.Size | getMaxInputSize () |
Gets the maximum allowed input size. More... | |
int | getMaxInputWidth () |
Gets the maximum allowed input width. More... | |
fm.liveswitch.EncodingInfo | getMinInputEncoding () |
Gets the minimum allowed input encoding. More... | |
double | getMinInputFrameRate () |
Gets the minimum allowed input frame-rate, in fps. More... | |
int | getMinInputHeight () |
Gets the minimum allowed input height. More... | |
double | getMinInputScale () |
Gets the minimum allowed input scale. More... | |
fm.liveswitch.Size | getMinInputSize () |
Gets the minimum allowed input size. More... | |
int | getMinInputWidth () |
Gets the minimum allowed input width. More... | |
boolean | getOverConstrainedFrameRate () |
Gets whether the sink frame-rate is over-constrained. More... | |
boolean | getOverConstrainedHeight () |
Gets whether the sink height is over-constrained. More... | |
boolean | getOverConstrainedInput () |
Gets whether the input is over-contrained. More... | |
boolean | getOverConstrainedInputFrameRate () |
Gets whether the minimum allowed input frame-rate exceeds the maximum allowed input frame-rate. More... | |
boolean | getOverConstrainedInputHeight () |
Gets whether the minimum allowed input height exceeds the maximum allowed input height. More... | |
boolean | getOverConstrainedInputScale () |
Gets whether the minimum allowed input scale exceeds the maximum allowed input scale. More... | |
boolean | getOverConstrainedInputSize () |
Gets whether the minimum allowed input size exceeds the maximum allowed input size. More... | |
boolean | getOverConstrainedInputWidth () |
Gets whether the minimum allowed input width exceeds the maximum allowed input width. More... | |
boolean | getOverConstrainedScale () |
Gets whether the sink scale is over-constrained. More... | |
boolean | getOverConstrainedSize () |
Gets whether the sink size is over-constrained. More... | |
boolean | getOverConstrainedWidth () |
Gets whether the sink width is over-constrained. More... | |
fm.liveswitch.VideoType | getVideoType () |
Gets the video type. More... | |
void | removeOnProcessSizeChange (fm.liveswitch.IAction1< fm.liveswitch.Size > value) |
Removes a handler that is raised when a frame is about to be processed with a size that does not match the prior frame. More... | |
VideoSink () | |
Initializes a new instance of the fm.liveswitch.VideoSink class. More... | |
VideoSink (fm.liveswitch.VideoFormat inputFormat) | |
Initializes a new instance of the fm.liveswitch.VideoSink class. More... | |
![]() | |
String | getExternalId () |
Gets the external identifier. More... | |
String | getId () |
Gets the identifier. More... | |
String | getTag () |
Gets optional data to associate with this instance. More... | |
void | setExternalId (String value) |
Sets the external identifier. More... | |
void | setTag (String value) |
Sets optional data to associate with this instance. More... | |
![]() | |
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... | |
![]() | |
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... | |
![]() | |
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 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... | |
![]() | |
abstract TView | getView () |
Gets the view. More... | |
abstract boolean | getViewMirror () |
Gets a value indicating whether the view is mirrored. More... | |
abstract fm.liveswitch.LayoutScale | getViewScale () |
Gets the view scale. More... | |
abstract void | setViewMirror (boolean value) |
Sets a value indicating whether the view is mirrored. More... | |
abstract void | setViewScale (fm.liveswitch.LayoutScale value) |
Sets the view scale. More... | |
Protected Member Functions | |
void | renderBuffer (fm.liveswitch.VideoBuffer inputBuffer) |
Renders a video buffer. More... | |
![]() | |
void | doDestroy () |
Destroys this instance. More... | |
void | doProcessFrame (fm.liveswitch.VideoFrame frame, fm.liveswitch.VideoBuffer inputBuffer) |
Processes a frame. More... | |
![]() | |
fm.liveswitch.IVideoOutputCollection | createOutputCollection (fm.liveswitch.IVideoInput input) |
Creates an output collection. More... | |
void | doPreProcessFrame (fm.liveswitch.VideoFrame frame, fm.liveswitch.VideoBuffer inputBuffer) |
Pre-processes a frame. More... | |
void | setMaxInputEncoding (fm.liveswitch.EncodingInfo value) |
Sets the maximum allowed input encoding. More... | |
void | setMaxInputFrameRate (double value) |
Sets the maximum allowed input frame-rate, in fps. More... | |
void | setMaxInputScale (double value) |
Sets the maximum allowed input scale. More... | |
void | setMaxInputSize (fm.liveswitch.Size value) |
Sets the maximum allowed input size. More... | |
void | setMinInputEncoding (fm.liveswitch.EncodingInfo value) |
Sets the minimum allowed input encoding. More... | |
void | setMinInputFrameRate (double value) |
Sets the minimum allowed input frame-rate, in fps. More... | |
void | setMinInputScale (double value) |
Sets the minimum allowed input scale. More... | |
void | setMinInputSize (fm.liveswitch.Size value) |
Sets the minimum allowed input size. More... | |
void | setVideoType (fm.liveswitch.VideoType value) |
Sets the video type. More... | |
![]() | |
MediaSinkBase () | |
![]() | |
Dynamic () | |
![]() | |
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 view sink that does nothing.
fm.liveswitch.NullViewSink< T >.NullViewSink | ( | ) |
Initializes a new instance of the fm.liveswitch.NullViewSink class.
fm.liveswitch.NullViewSink< T >.NullViewSink | ( | fm.liveswitch.VideoFormat | inputFormat | ) |
Initializes a new instance of the fm.liveswitch.NullViewSink class.
inputFormat | The input format. |
long fm.liveswitch.NullViewSink< T >.getFrameCount | ( | ) |
Gets the current frame count.
String fm.liveswitch.NullViewSink< T >.getLabel | ( | ) |
Gets a label that identifies this class.
Implements fm.liveswitch.IMediaElement.
T fm.liveswitch.NullViewSink< T >.getView | ( | ) |
Gets the view.
Reimplemented from fm.liveswitch.ViewSink< T >.
boolean fm.liveswitch.NullViewSink< T >.getViewMirror | ( | ) |
Gets a value indicating whether the view is mirrored.
Reimplemented from fm.liveswitch.ViewSink< T >.
fm.liveswitch.LayoutScale fm.liveswitch.NullViewSink< T >.getViewScale | ( | ) |
Gets the view scale.
Reimplemented from fm.liveswitch.ViewSink< T >.
|
protected |
Renders a video buffer.
inputBuffer | The input buffer. |
Reimplemented from fm.liveswitch.ViewSink< T >.
fm.liveswitch.Future<Object> fm.liveswitch.NullViewSink< T >.renderedFrames | ( | long | count | ) |
Creates a future that resolves when the specified number of frames have been processed.
count |
void fm.liveswitch.NullViewSink< T >.setViewMirror | ( | boolean | value | ) |
Sets a value indicating whether the view is mirrored.
Reimplemented from fm.liveswitch.ViewSink< T >.
void fm.liveswitch.NullViewSink< T >.setViewScale | ( | fm.liveswitch.LayoutScale | value | ) |
Sets the view scale.
Reimplemented from fm.liveswitch.ViewSink< T >.
void fm.liveswitch.NullViewSink< T >.updateMaxInputBitrate | ( | int | maxInputBitrate | ) |
Sets the maximum allowed input bitrate, in kbps.
A value of -1 indicates unset (no maximum).
maxInputBitrate | The maximum allowed input bitrate, in kbps. |
void fm.liveswitch.NullViewSink< T >.updateMinInputBitrate | ( | int | minInputBitrate | ) |
Sets the minimum allowed input bitrate, in kbps.
A value of -1 indicates unset (no minimum).
minInputBitrate | The minimum allowed input bitrate, in kbps. |