A video source that raises nothing. More...
Public Member Functions | |
| void | generateAndProcessRawFrame () |
| Generates and processes a raw frame. More... | |
| fm.liveswitch.VideoConfig | getConfig () |
| Gets the current config. More... | |
| double | getFrameRate () |
| Gets the current frame-rate, in fps. More... | |
| String | getInputRtpStreamId () |
| Gets the input RTP stream identifier. More... | |
| long | getInputSynchronizationSource () |
| Gets the input synchronization source. More... | |
| String | getLabel () |
| Gets a label that identifies this class. More... | |
| double | getMaxFrameRate () |
| Gets the maximum output frame-rate, in fps. More... | |
| double | getMaxOutputFrameRate () |
| Gets the maximum allowed output frame-rate, in fps. More... | |
| fm.liveswitch.Size | getMaxOutputSize () |
| Gets the maximum allowed output size. More... | |
| fm.liveswitch.Size | getMaxSize () |
| Gets the maximum output size. More... | |
| double | getMaxSupportedFrameRate () |
| Gets the maximum supported frame-rate, in fps. More... | |
| fm.liveswitch.Size | getMaxSupportedSize () |
| Gets the maximum supported size. More... | |
| double | getMinFrameRate () |
| Gets the minimum frame-rate, in fps. More... | |
| double | getMinOutputFrameRate () |
| Gets the minimum allowed output frame-rate, in fps. More... | |
| fm.liveswitch.Size | getMinOutputSize () |
| Gets the minimum allowed output size. More... | |
| fm.liveswitch.Size | getMinSize () |
| Gets the minimum size. More... | |
| double | getMinSupportedFrameRate () |
| Gets the minimum supported frame-rate, in fps. More... | |
| fm.liveswitch.Size | getMinSupportedSize () |
| Gets the minimum supported size. More... | |
| fm.liveswitch.Size | getSize () |
| Gets the current size. More... | |
| boolean | getStaticOutputFrameRate () |
| Gets whether fm.liveswitch.NullVideoSource#getMinOutputFrameRate and fm.liveswitch.NullVideoSource#getMaxOutputFrameRate should return fm.liveswitch.NullVideoSource#getMinSupportedFrameRate and fm.liveswitch.NullVideoSource#getMaxSupportedFrameRate, respectively, or response to changes in fm.liveswitch.NullVideoSource#getMinFrameRate and fm.liveswitch.NullVideoSource#getMaxFrameRate. More... | |
| boolean | getStaticOutputSize () |
| Gets whether fm.liveswitch.NullVideoSource#getMinOutputSize and fm.liveswitch.NullVideoSource#getMaxOutputSize should return fm.liveswitch.NullVideoSource#getMinSupportedSize and fm.liveswitch.NullVideoSource#getMaxSupportedSize, respectively, or response to changes in fm.liveswitch.NullVideoSource#getMinSize and fm.liveswitch.NullVideoSource#getMaxSize. More... | |
| fm.liveswitch.VideoConfig | getTargetConfig () |
| Gets the target config. More... | |
| double | getTargetFrameRate () |
| Gets the target frame-rate, in fps. More... | |
| double | getTargetOutputFrameRate () |
| Gets the target output frame-rate, in fps. More... | |
| fm.liveswitch.Size | getTargetOutputSize () |
| Gets the target output size. More... | |
| fm.liveswitch.Size | getTargetSize () |
| Gets the target size. More... | |
| NullVideoSource (fm.liveswitch.VideoFormat outputFormat) | |
| Initializes a new fm.liveswitch.NullVideoSource. More... | |
| NullVideoSource (fm.liveswitch.VideoFormat outputFormat, fm.liveswitch.VideoConfig config) | |
| Initializes a new fm.liveswitch.NullVideoSource. More... | |
| void | processControlFrameResponse (fm.liveswitch.MediaControlFrame controlFrameResponse) |
| Processes a control frame response by raising it. More... | |
| void | processControlFrameResponses (fm.liveswitch.MediaControlFrame[] controlFrameResponses) |
| Processes control frame responses by raising them. More... | |
| void | processFrame (fm.liveswitch.VideoFrame frame) |
| Processes a frame by raising it. More... | |
| void | setInputRtpStreamId (String value) |
| Sets the input RTP stream identifier. More... | |
| void | setInputSynchronizationSource (long value) |
| Sets the input synchronization source. More... | |
| void | setMaxFrameRate (double value) |
| Sets the maximum output frame-rate, in fps. More... | |
| void | setMaxSize (fm.liveswitch.Size value) |
| Sets the maximum output size. More... | |
| void | setMinFrameRate (double value) |
| Sets the minimum frame-rate, in fps. More... | |
| void | setMinSize (fm.liveswitch.Size value) |
| Sets the minimum size. More... | |
| void | setStaticOutputFrameRate (boolean value) |
| Sets whether fm.liveswitch.NullVideoSource#getMinOutputFrameRate and fm.liveswitch.NullVideoSource#getMaxOutputFrameRate should return fm.liveswitch.NullVideoSource#getMinSupportedFrameRate and fm.liveswitch.NullVideoSource#getMaxSupportedFrameRate, respectively, or response to changes in fm.liveswitch.NullVideoSource#getMinFrameRate and fm.liveswitch.NullVideoSource#getMaxFrameRate. More... | |
| void | setStaticOutputSize (boolean value) |
| Sets whether fm.liveswitch.NullVideoSource#getMinOutputSize and fm.liveswitch.NullVideoSource#getMaxOutputSize should return fm.liveswitch.NullVideoSource#getMinSupportedSize and fm.liveswitch.NullVideoSource#getMaxSupportedSize, respectively, or response to changes in fm.liveswitch.NullVideoSource#getMinSize and fm.liveswitch.NullVideoSource#getMaxSize. More... | |
| void | setTargetConfig (fm.liveswitch.VideoConfig value) |
| Sets the target config. More... | |
| void | setTargetSize (fm.liveswitch.Size value) |
| Sets the target size. More... | |
| void | updateCanChangeBitrate (boolean canChangeBitrate) |
| Sets whether this source can change the output bitrate. More... | |
| void | updateCanPauseBitrate (boolean canPauseBitrate) |
| Sets whether this source can pause the output bitrate. More... | |
| void | updateMaxOutputBitrate (int maxOutputBitrate) |
| Sets the maximum allowed output bitrate, in kbps. More... | |
| void | updateMaxOutputEncoding (fm.liveswitch.EncodingInfo maxOutputEncoding) |
| Sets the maximum allowed output encoding. More... | |
| void | updateMaxOutputFrameRate (double maxOutputFrameRate) |
| Sets the maximum allowed output frame-rate. More... | |
| void | updateMaxOutputScale (double maxOutputScale) |
| Sets the maximum allowed output scale. More... | |
| void | updateMaxOutputSize (fm.liveswitch.Size maxOutputSize) |
| Sets the maximum allowed output size. More... | |
| void | updateMinOutputBitrate (int minOutputBitrate) |
| Sets the minimum allowed output bitrate, in kbps. More... | |
| void | updateMinOutputEncoding (fm.liveswitch.EncodingInfo minOutputEncoding) |
| Sets the minimum allowed output encoding. More... | |
| void | updateMinOutputFrameRate (double minOutputFrameRate) |
| Sets the minimum allowed output frame-rate. More... | |
| void | updateMinOutputScale (double minOutputScale) |
| Sets the minimum allowed output scale. More... | |
| void | updateMinOutputSize (fm.liveswitch.Size minOutputSize) |
| Sets the minimum allowed output size. More... | |
| void | updateOutputSynchronizable (boolean outputSynchronizable) |
| Sets whether output is synchronizable. More... | |
| void | updateSystemDelay (long systemDelay) |
| Sets the system delay in ticks. More... | |
| void | updateTargetOutputBitrate (int targetOutputBitrate) |
| Sets the target output bitrate, in kbps. More... | |
| void | updateTargetOutputEncoding (fm.liveswitch.EncodingInfo targetOutputEncoding) |
| Sets the target output encoding. More... | |
| void | updateTargetOutputFrameRate (double targetOutputFrameRate) |
| Sets the target output frame-rate. More... | |
| void | updateTargetOutputScale (double targetOutputScale) |
| Sets the target output scale. More... | |
| void | updateTargetOutputSize (fm.liveswitch.Size targetOutputSize) |
| Sets the target output size. More... | |
| void | updateVideoType (fm.liveswitch.VideoType videoType) |
| Sets the video type. More... | |
Public Member Functions inherited from fm.liveswitch.VideoSource | |
| void | addOnRaiseSizeChange (fm.liveswitch.IAction1< fm.liveswitch.Size > value) |
| Adds a handler that is raised when a frame is about to be raised with a size that does not match the prior frame. More... | |
| int | getAverageFrameRate () |
| Gets the average frame rate. More... | |
| String | getContent () |
| Gets the content descriptor. More... | |
| long | getFrameCount () |
| Gets the frame count. More... | |
| double | getFrameRateDistance (double frameRate1, double frameRate2) |
| Gets the distance between two frame rates. More... | |
| fm.liveswitch.EncodingInfo | getMaxOutputEncoding () |
| Gets the maximum allowed output encoding. More... | |
| int | getMaxOutputHeight () |
| Gets the maximum allowed output height. More... | |
| double | getMaxOutputScale () |
| Gets the maximum allowed output scale. More... | |
| int | getMaxOutputWidth () |
| Gets the maximum allowed output width. More... | |
| fm.liveswitch.EncodingInfo | getMinOutputEncoding () |
| Gets the minimum allowed output encoding. More... | |
| int | getMinOutputHeight () |
| Gets the minimum allowed output height. More... | |
| double | getMinOutputScale () |
| Gets the minimum allowed output scale. More... | |
| int | getMinOutputWidth () |
| Gets the minimum allowed output width. More... | |
| boolean | getOverConstrainedFrameRate () |
| Gets whether the source frame-rate is over-constrained. More... | |
| boolean | getOverConstrainedHeight () |
| Gets whether the source height is over-constrained. More... | |
| boolean | getOverConstrainedOutput () |
| Gets whether the output is over-contrained. More... | |
| boolean | getOverConstrainedOutputFrameRate () |
| Gets whether the minimum allowed output frame-rate exceeds the maximum allowed output frame-rate. More... | |
| boolean | getOverConstrainedOutputHeight () |
| Gets whether the minimum allowed output height exceeds the maximum allowed output height. More... | |
| boolean | getOverConstrainedOutputScale () |
| Gets whether the minimum allowed output scale exceeds the maximum allowed output scale. More... | |
| boolean | getOverConstrainedOutputSize () |
| Gets whether the minimum allowed output size exceeds the maximum allowed output size. More... | |
| boolean | getOverConstrainedOutputWidth () |
| Gets whether the minimum allowed output width exceeds the maximum allowed output width. More... | |
| boolean | getOverConstrainedScale () |
| Gets whether the source scale is over-constrained. More... | |
| boolean | getOverConstrainedSize () |
| Gets whether the source size is over-constrained. More... | |
| boolean | getOverConstrainedWidth () |
| Gets whether the source width is over-constrained. More... | |
| int | getSizeDistance (int width1, int height1, int width2, int height2) |
| Gets the distance between two sizes. More... | |
| fm.liveswitch.EncodingInfo | getTargetOutputEncoding () |
| Gets the target output encoding. More... | |
| int | getTargetOutputHeight () |
| Gets the target output height. More... | |
| double | getTargetOutputScale () |
| Gets the target output scale. More... | |
| int | getTargetOutputWidth () |
| Gets the target output width. More... | |
| fm.liveswitch.VideoType | getVideoType () |
| Gets the video type. More... | |
| void | removeOnRaiseSizeChange (fm.liveswitch.IAction1< fm.liveswitch.Size > value) |
| Removes a handler that is raised when a frame is about to be raised with a size that does not match the prior frame. More... | |
| VideoSource (fm.liveswitch.VideoFormat outputFormat) | |
| Initializes a new instance of the fm.liveswitch.VideoSource class. More... | |
Public Member Functions inherited from fm.liveswitch.MediaSourceBase | |
| 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... | |
| abstract fm.liveswitch.Future< Object > | start () |
| Starts this instance. More... | |
| abstract fm.liveswitch.Future< Object > | stop () |
| Stops this instance. 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.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... | |
Public Member Functions inherited from fm.liveswitch.IMediaElement | |
| 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... | |
Protected Member Functions | |
| void | doDestroy () |
| Destroys this instance. More... | |
| fm.liveswitch.Future< Object > | doStart () |
| Starts the source. More... | |
| fm.liveswitch.Future< Object > | doStop () |
| Stops the source. More... | |
| boolean | getCanChangeBitrate () |
| Gets whether this source can change the output bitrate. More... | |
| boolean | getCanPauseBitrate () |
| Gets whether this source can pause the output bitrate. More... | |
| void | setConfig (fm.liveswitch.VideoConfig value) |
| Sets the current config. More... | |
| void | setFrameRate (double value) |
| Sets the current frame-rate, in fps. More... | |
| void | setMaxOutputFrameRate (double value) |
| Sets the maximum allowed output frame-rate, in fps. More... | |
| void | setMaxOutputSize (fm.liveswitch.Size value) |
| Sets the maximum allowed output size. More... | |
| void | setMinOutputFrameRate (double value) |
| Sets the minimum allowed output frame-rate, in fps. More... | |
| void | setMinOutputSize (fm.liveswitch.Size value) |
| Sets the minimum allowed output size. More... | |
| void | setSize (fm.liveswitch.Size value) |
| Sets the current size. More... | |
| void | setTargetFrameRate (double value) |
| Sets the target frame-rate, in fps. More... | |
| void | setTargetOutputFrameRate (double value) |
| Sets the target output frame-rate, in fps. More... | |
| void | setTargetOutputSize (fm.liveswitch.Size value) |
| Sets the target output size. More... | |
Protected Member Functions inherited from fm.liveswitch.VideoSource | |
| fm.liveswitch.IVideoInputCollection | createInputCollection (fm.liveswitch.IVideoOutput output) |
| Creates an input collection. More... | |
| boolean | outputCanProcessFrame (fm.liveswitch.IVideoInput output) |
| Determines whether an output can process a frame from this pipe. More... | |
| void | raiseFrame (fm.liveswitch.VideoFrame frame) |
| Raises a frame. More... | |
| void | setMaxOutputEncoding (fm.liveswitch.EncodingInfo value) |
| Sets the maximum allowed output encoding. More... | |
| void | setMaxOutputScale (double value) |
| Sets the maximum allowed output scale. More... | |
| void | setMinOutputEncoding (fm.liveswitch.EncodingInfo value) |
| Sets the minimum allowed output encoding. More... | |
| void | setMinOutputScale (double value) |
| Sets the minimum allowed output scale. More... | |
| void | setTargetOutputEncoding (fm.liveswitch.EncodingInfo value) |
| Sets the target output encoding. More... | |
| void | setTargetOutputScale (double value) |
| Sets the target output scale. More... | |
| void | setVideoType (fm.liveswitch.VideoType value) |
| Sets the video type. More... | |
Protected Member Functions inherited from fm.liveswitch.MediaSourceBase | |
| fm.liveswitch.LogContext | getLogContext () |
| Gets the log context for this connection. More... | |
| MediaSourceBase () | |
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 source that raises nothing.
| fm.liveswitch.NullVideoSource.NullVideoSource | ( | fm.liveswitch.VideoFormat | outputFormat | ) |
Initializes a new fm.liveswitch.NullVideoSource.
| outputFormat | The output format. |
| fm.liveswitch.NullVideoSource.NullVideoSource | ( | fm.liveswitch.VideoFormat | outputFormat, |
| fm.liveswitch.VideoConfig | config | ||
| ) |
Initializes a new fm.liveswitch.NullVideoSource.
| outputFormat | The output format. |
| config | The configuration. |
|
protected |
Destroys this instance.
|
protected |
Starts the source.
|
protected |
Stops the source.
| void fm.liveswitch.NullVideoSource.generateAndProcessRawFrame | ( | ) |
Generates and processes a raw frame.
|
protected |
Gets whether this source can change the output bitrate.
|
protected |
Gets whether this source can pause the output bitrate.
| fm.liveswitch.VideoConfig fm.liveswitch.NullVideoSource.getConfig | ( | ) |
Gets the current config.
A value of null indicates unset (pass-through).
| double fm.liveswitch.NullVideoSource.getFrameRate | ( | ) |
Gets the current frame-rate, in fps.
A value of -1 indicates unset, and will default to the target frame-rate.
| String fm.liveswitch.NullVideoSource.getInputRtpStreamId | ( | ) |
Gets the input RTP stream identifier.
| long fm.liveswitch.NullVideoSource.getInputSynchronizationSource | ( | ) |
Gets the input synchronization source.
| String fm.liveswitch.NullVideoSource.getLabel | ( | ) |
Gets a label that identifies this class.
Implements fm.liveswitch.IMediaElement.
| double fm.liveswitch.NullVideoSource.getMaxFrameRate | ( | ) |
Gets the maximum output frame-rate, in fps.
A value of -1 indicates unset (no maximum).
| double fm.liveswitch.NullVideoSource.getMaxOutputFrameRate | ( | ) |
Gets the maximum allowed output frame-rate, in fps.
A value of -1 indicates unset (no maximum).
Reimplemented from fm.liveswitch.VideoSource.
| fm.liveswitch.Size fm.liveswitch.NullVideoSource.getMaxOutputSize | ( | ) |
Gets the maximum allowed output size.
A value of null indicates unset (no maximum).
Reimplemented from fm.liveswitch.VideoSource.
| fm.liveswitch.Size fm.liveswitch.NullVideoSource.getMaxSize | ( | ) |
Gets the maximum output size.
A value of null indicates unset (no maximum).
| double fm.liveswitch.NullVideoSource.getMaxSupportedFrameRate | ( | ) |
Gets the maximum supported frame-rate, in fps.
A value of -1 indicates unset (no maximum).
| fm.liveswitch.Size fm.liveswitch.NullVideoSource.getMaxSupportedSize | ( | ) |
Gets the maximum supported size.
A value of null indicates unset (no maximum).
| double fm.liveswitch.NullVideoSource.getMinFrameRate | ( | ) |
Gets the minimum frame-rate, in fps.
A value of -1 indicates unset (no minimum).
| double fm.liveswitch.NullVideoSource.getMinOutputFrameRate | ( | ) |
Gets the minimum allowed output frame-rate, in fps.
A value of -1 indicates unset (no minimum).
Reimplemented from fm.liveswitch.VideoSource.
| fm.liveswitch.Size fm.liveswitch.NullVideoSource.getMinOutputSize | ( | ) |
Gets the minimum allowed output size.
A value of null indicates unset (no minimum).
Reimplemented from fm.liveswitch.VideoSource.
| fm.liveswitch.Size fm.liveswitch.NullVideoSource.getMinSize | ( | ) |
Gets the minimum size.
A value of null indicates unset (no minimum).
| double fm.liveswitch.NullVideoSource.getMinSupportedFrameRate | ( | ) |
Gets the minimum supported frame-rate, in fps.
A value of -1 indicates unset (no minimum).
| fm.liveswitch.Size fm.liveswitch.NullVideoSource.getMinSupportedSize | ( | ) |
Gets the minimum supported size.
A value of null indicates unset (no minimum).
| fm.liveswitch.Size fm.liveswitch.NullVideoSource.getSize | ( | ) |
Gets the current size.
A value of null indicates unset, and will default to the target size.
| boolean fm.liveswitch.NullVideoSource.getStaticOutputFrameRate | ( | ) |
Gets whether fm.liveswitch.NullVideoSource#getMinOutputFrameRate and fm.liveswitch.NullVideoSource#getMaxOutputFrameRate should return fm.liveswitch.NullVideoSource#getMinSupportedFrameRate and fm.liveswitch.NullVideoSource#getMaxSupportedFrameRate, respectively, or response to changes in fm.liveswitch.NullVideoSource#getMinFrameRate and fm.liveswitch.NullVideoSource#getMaxFrameRate.
| boolean fm.liveswitch.NullVideoSource.getStaticOutputSize | ( | ) |
Gets whether fm.liveswitch.NullVideoSource#getMinOutputSize and fm.liveswitch.NullVideoSource#getMaxOutputSize should return fm.liveswitch.NullVideoSource#getMinSupportedSize and fm.liveswitch.NullVideoSource#getMaxSupportedSize, respectively, or response to changes in fm.liveswitch.NullVideoSource#getMinSize and fm.liveswitch.NullVideoSource#getMaxSize.
| fm.liveswitch.VideoConfig fm.liveswitch.NullVideoSource.getTargetConfig | ( | ) |
Gets the target config.
A value of null indicates unset (no target).
| double fm.liveswitch.NullVideoSource.getTargetFrameRate | ( | ) |
Gets the target frame-rate, in fps.
| double fm.liveswitch.NullVideoSource.getTargetOutputFrameRate | ( | ) |
Gets the target output frame-rate, in fps.
Reimplemented from fm.liveswitch.VideoSource.
| fm.liveswitch.Size fm.liveswitch.NullVideoSource.getTargetOutputSize | ( | ) |
Gets the target output size.
Reimplemented from fm.liveswitch.VideoSource.
| fm.liveswitch.Size fm.liveswitch.NullVideoSource.getTargetSize | ( | ) |
Gets the target size.
| void fm.liveswitch.NullVideoSource.processControlFrameResponse | ( | fm.liveswitch.MediaControlFrame | controlFrameResponse | ) |
Processes a control frame response by raising it.
| controlFrameResponse | The control frame response. |
| void fm.liveswitch.NullVideoSource.processControlFrameResponses | ( | fm.liveswitch.MediaControlFrame[] | controlFrameResponses | ) |
Processes control frame responses by raising them.
| controlFrameResponses | The control frame responses. |
| void fm.liveswitch.NullVideoSource.processFrame | ( | fm.liveswitch.VideoFrame | frame | ) |
Processes a frame by raising it.
| frame | The frame. |
|
protected |
Sets the current config.
A value of null indicates unset (pass-through).
|
protected |
Sets the current frame-rate, in fps.
A value of -1 indicates unset, and will default to the target frame-rate.
| void fm.liveswitch.NullVideoSource.setInputRtpStreamId | ( | String | value | ) |
Sets the input RTP stream identifier.
| void fm.liveswitch.NullVideoSource.setInputSynchronizationSource | ( | long | value | ) |
Sets the input synchronization source.
| void fm.liveswitch.NullVideoSource.setMaxFrameRate | ( | double | value | ) |
Sets the maximum output frame-rate, in fps.
A value of -1 indicates unset (no maximum).
|
protected |
Sets the maximum allowed output frame-rate, in fps.
A value of -1 indicates unset (no maximum).
Reimplemented from fm.liveswitch.VideoSource.
|
protected |
Sets the maximum allowed output size.
A value of null indicates unset (no maximum).
Reimplemented from fm.liveswitch.VideoSource.
| void fm.liveswitch.NullVideoSource.setMaxSize | ( | fm.liveswitch.Size | value | ) |
Sets the maximum output size.
A value of null indicates unset (no maximum).
| void fm.liveswitch.NullVideoSource.setMinFrameRate | ( | double | value | ) |
Sets the minimum frame-rate, in fps.
A value of -1 indicates unset (no minimum).
|
protected |
Sets the minimum allowed output frame-rate, in fps.
A value of -1 indicates unset (no minimum).
Reimplemented from fm.liveswitch.VideoSource.
|
protected |
Sets the minimum allowed output size.
A value of null indicates unset (no minimum).
Reimplemented from fm.liveswitch.VideoSource.
| void fm.liveswitch.NullVideoSource.setMinSize | ( | fm.liveswitch.Size | value | ) |
Sets the minimum size.
A value of null indicates unset (no minimum).
|
protected |
Sets the current size.
A value of null indicates unset, and will default to the target size.
| void fm.liveswitch.NullVideoSource.setStaticOutputFrameRate | ( | boolean | value | ) |
Sets whether fm.liveswitch.NullVideoSource#getMinOutputFrameRate and fm.liveswitch.NullVideoSource#getMaxOutputFrameRate should return fm.liveswitch.NullVideoSource#getMinSupportedFrameRate and fm.liveswitch.NullVideoSource#getMaxSupportedFrameRate, respectively, or response to changes in fm.liveswitch.NullVideoSource#getMinFrameRate and fm.liveswitch.NullVideoSource#getMaxFrameRate.
| void fm.liveswitch.NullVideoSource.setStaticOutputSize | ( | boolean | value | ) |
Sets whether fm.liveswitch.NullVideoSource#getMinOutputSize and fm.liveswitch.NullVideoSource#getMaxOutputSize should return fm.liveswitch.NullVideoSource#getMinSupportedSize and fm.liveswitch.NullVideoSource#getMaxSupportedSize, respectively, or response to changes in fm.liveswitch.NullVideoSource#getMinSize and fm.liveswitch.NullVideoSource#getMaxSize.
| void fm.liveswitch.NullVideoSource.setTargetConfig | ( | fm.liveswitch.VideoConfig | value | ) |
Sets the target config.
A value of null indicates unset (no target).
|
protected |
Sets the target frame-rate, in fps.
|
protected |
Sets the target output frame-rate, in fps.
Reimplemented from fm.liveswitch.VideoSource.
|
protected |
Sets the target output size.
Reimplemented from fm.liveswitch.VideoSource.
| void fm.liveswitch.NullVideoSource.setTargetSize | ( | fm.liveswitch.Size | value | ) |
Sets the target size.
| void fm.liveswitch.NullVideoSource.updateCanChangeBitrate | ( | boolean | canChangeBitrate | ) |
Sets whether this source can change the output bitrate.
| canChangeBitrate | Whether this source can change the output bitrate. |
| void fm.liveswitch.NullVideoSource.updateCanPauseBitrate | ( | boolean | canPauseBitrate | ) |
Sets whether this source can pause the output bitrate.
| canPauseBitrate | Whether this source can pause the output bitrate. |
| void fm.liveswitch.NullVideoSource.updateMaxOutputBitrate | ( | int | maxOutputBitrate | ) |
Sets the maximum allowed output bitrate, in kbps.
A value of -1 indicates unset (no maximum).
| maxOutputBitrate | The maximum allowed output bitrate, in kbps. |
| void fm.liveswitch.NullVideoSource.updateMaxOutputEncoding | ( | fm.liveswitch.EncodingInfo | maxOutputEncoding | ) |
Sets the maximum allowed output encoding.
A value of null indicates unset (no maximum).
| maxOutputEncoding | The maximum allowed output encoding. |
| void fm.liveswitch.NullVideoSource.updateMaxOutputFrameRate | ( | double | maxOutputFrameRate | ) |
Sets the maximum allowed output frame-rate.
A value of -1 indicates unset (no maximum).
| maxOutputFrameRate | The maximum allowed output frame-rate. |
| void fm.liveswitch.NullVideoSource.updateMaxOutputScale | ( | double | maxOutputScale | ) |
Sets the maximum allowed output scale.
A value of -1 indicates unset (no maximum).
| maxOutputScale | The maximum allowed output scale. |
| void fm.liveswitch.NullVideoSource.updateMaxOutputSize | ( | fm.liveswitch.Size | maxOutputSize | ) |
Sets the maximum allowed output size.
A value of -1 indicates unset (no maximum).
| maxOutputSize | The maximum allowed output size. |
| void fm.liveswitch.NullVideoSource.updateMinOutputBitrate | ( | int | minOutputBitrate | ) |
Sets the minimum allowed output bitrate, in kbps.
A value of -1 indicates unset (no minimum).
| minOutputBitrate | The minimum allowed output bitrate, in kbps. |
| void fm.liveswitch.NullVideoSource.updateMinOutputEncoding | ( | fm.liveswitch.EncodingInfo | minOutputEncoding | ) |
Sets the minimum allowed output encoding.
A value of null indicates unset (no minimum).
| minOutputEncoding | The minimum allowed output encoding. |
| void fm.liveswitch.NullVideoSource.updateMinOutputFrameRate | ( | double | minOutputFrameRate | ) |
Sets the minimum allowed output frame-rate.
A value of -1 indicates unset (no minimum).
| minOutputFrameRate | The minimum allowed output frame-rate. |
| void fm.liveswitch.NullVideoSource.updateMinOutputScale | ( | double | minOutputScale | ) |
Sets the minimum allowed output scale.
A value of -1 indicates unset (no minimum).
| minOutputScale | The minimum allowed output scale. |
| void fm.liveswitch.NullVideoSource.updateMinOutputSize | ( | fm.liveswitch.Size | minOutputSize | ) |
Sets the minimum allowed output size.
A value of -1 indicates unset (no minimum).
| minOutputSize | The minimum allowed output size. |
| void fm.liveswitch.NullVideoSource.updateOutputSynchronizable | ( | boolean | outputSynchronizable | ) |
Sets whether output is synchronizable.
| outputSynchronizable | Whether output is synchronizable. |
| void fm.liveswitch.NullVideoSource.updateSystemDelay | ( | long | systemDelay | ) |
Sets the system delay in ticks.
| systemDelay | The system delay. |
| void fm.liveswitch.NullVideoSource.updateTargetOutputBitrate | ( | int | targetOutputBitrate | ) |
Sets the target output bitrate, in kbps.
A value of -1 indicates unset (no target).
| targetOutputBitrate | The target output bitrate, in kbps. |
| void fm.liveswitch.NullVideoSource.updateTargetOutputEncoding | ( | fm.liveswitch.EncodingInfo | targetOutputEncoding | ) |
Sets the target output encoding.
A value of null indicates unset (no target).
| targetOutputEncoding | The target output encoding. |
| void fm.liveswitch.NullVideoSource.updateTargetOutputFrameRate | ( | double | targetOutputFrameRate | ) |
Sets the target output frame-rate.
A value of -1 indicates unset (no target).
| targetOutputFrameRate | The target output frame-rate. |
| void fm.liveswitch.NullVideoSource.updateTargetOutputScale | ( | double | targetOutputScale | ) |
Sets the target output scale.
A value of -1 indicates unset (no target).
| targetOutputScale | The target output scale. |
| void fm.liveswitch.NullVideoSource.updateTargetOutputSize | ( | fm.liveswitch.Size | targetOutputSize | ) |
Sets the target output size.
A value of -1 indicates unset (no target).
| targetOutputSize | The target output size. |
| void fm.liveswitch.NullVideoSource.updateVideoType | ( | fm.liveswitch.VideoType | videoType | ) |
Sets the video type.
| videoType | The video type. |