public class DataSource extends PushBufferDataSource implements CaptureDevice
Modifier and Type | Field and Description |
---|---|
protected java.lang.Object[] |
controls |
DURATION_UNBOUNDED, DURATION_UNKNOWN
Constructor and Description |
---|
DataSource() |
Modifier and Type | Method and Description |
---|---|
void |
connect() |
void |
disconnect() |
CaptureDeviceInfo |
getCaptureDeviceInfo() |
java.lang.String |
getContentType() |
java.lang.Object |
getControl(java.lang.String controlType) |
java.lang.Object[] |
getControls() |
Time |
getDuration() |
FormatControl[] |
getFormatControls() |
PushBufferStream[] |
getStreams() |
static Format[] |
querySupportedFormats(int mixerIndex) |
void |
start() |
void |
stop() |
getLocator, initCheck, setLocator
public void connect() throws java.io.IOException
connect
in interface CaptureDevice
connect
in class DataSource
java.io.IOException
public void disconnect()
disconnect
in interface CaptureDevice
disconnect
in class DataSource
public java.lang.String getContentType()
getContentType
in class DataSource
public java.lang.Object getControl(java.lang.String controlType)
getControl
in interface Controls
getControl
in class DataSource
public java.lang.Object[] getControls()
getControls
in interface Controls
getControls
in class DataSource
public void start() throws java.io.IOException
start
in interface CaptureDevice
start
in class DataSource
java.io.IOException
public void stop() throws java.io.IOException
stop
in interface CaptureDevice
stop
in class DataSource
java.io.IOException
public Time getDuration()
getDuration
in interface Duration
getDuration
in class DataSource
public PushBufferStream[] getStreams()
getStreams
in class PushBufferDataSource
public static Format[] querySupportedFormats(int mixerIndex)
public CaptureDeviceInfo getCaptureDeviceInfo()
getCaptureDeviceInfo
in interface CaptureDevice
public FormatControl[] getFormatControls()
getFormatControls
in interface CaptureDevice