public class DataSource extends AbstractVideoPullBufferCaptureDevice
| Constructor and Description |
|---|
DataSource()
Initializes a new DataSource instance.
|
DataSource(javax.media.MediaLocator locator)
Initializes a new DataSource instance from a specific
MediaLocator.
|
| Modifier and Type | Method and Description |
|---|---|
protected ImageStream |
createStream(int streamIndex,
javax.media.control.FormatControl formatControl)
Creates a new PullBufferStream which is to be at a specific
zero-based index in the list of streams of this
PullBufferDataSource.
|
Object |
getControl(String controlType)
Gets the control of the specified type available for this instance.
|
void |
setOrigin(int streamIndex,
int displayIndex,
int x,
int y)
Set the display index and the origin of the ImageStream
associated with a specific index in this DataSource.
|
createFrameRateControlconnect, disconnect, doConnect, doDisconnect, doStart, doStop, getCaptureDeviceInfo, getContentType, getControls, getDuration, getFormat, getFormatControls, getStreams, getStreamSyncRoot, getSupportedFormats, setCaptureDeviceInfo, setFormat, start, stop, streamspublic DataSource()
public DataSource(javax.media.MediaLocator locator)
locator - the MediaLocator to initialize the new instance
fromprotected ImageStream createStream(int streamIndex, javax.media.control.FormatControl formatControl)
createStream in class AbstractPullBufferCaptureDevicestreamIndex - the zero-based index of the PullBufferStream
in the list of streams of this PullBufferDataSourceformatControl - the FormatControl which is to abstract the
Format-related information of the new instanceAbstractPullBufferCaptureDevice.createStream(int, FormatControl)public Object getControl(String controlType)
getControl in interface javax.media.ControlsgetControl in class AbstractPullBufferCaptureDevicecontrolType - the type of the control available for this instance to
be retrievedpublic void setOrigin(int streamIndex,
int displayIndex,
int x,
int y)
streamIndex - the index in this DataSource of the
ImageStream to set the display index and the origin ofdisplayIndex - the display index to set on the specified
ImageStreamx - the x coordinate of the origin to set on the specified
ImageStreamy - the y coordinate of the origin to set on the specified
ImageStreamCopyright © 2022 jitsi.org. All rights reserved.