FileDocCategorySizeDatePackage
MonitorControl.javaAPI DocJMF 2.1.1e1135Mon May 12 12:20:34 BST 2003javax.media.control

MonitorControl

public interface MonitorControl implements Control
Some capture devices or encoders may have a monitor to view/listen to the capture or encoding progress. The MonitorControl allows you to enable/disable monitoring and in the case of a video monitor, also control the preview rate. Setting a lower preview rate will result in lesser resource consumption.
since
JMF 2.0

Fields Summary
Constructors Summary
Methods Summary
public booleansetEnabled(boolean on)
Enable or disable the monitor.

param
on true to enable monitoring.
return
true if the monitor is enabled.

public floatsetPreviewFrameRate(float rate)
Sets the frame rate at which the video is to be previewed. This does not affect the actual capture or encoding rate.

param
rate the frame rate used for previewing.
return
the actual rate that it was set to. Returns -1 if this is not a video monitor.