public class DataSource extends AbstractVideoPullBufferCaptureDevice
| Constructor and Description |
|---|
DataSource() |
| Modifier and Type | Method and Description |
|---|---|
protected IVFStream |
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.
|
void |
doConnect()
doConnect allows us to initialize the DataSource with information that
we couldn't have in the constructor, like the MediaLocator that give us
the path of the ivf file which give us information on the format
|
protected javax.media.Format[] |
getSupportedFormats(int streamIndex)
Gets the Formats which are to be reported by a
FormatControl as supported formats for a
PullBufferStream at a specific zero-based index in the list of
streams of this PullBufferDataSource.
|
createFrameRateControlconnect, disconnect, doDisconnect, doStart, doStop, getCaptureDeviceInfo, getContentType, getControl, getControls, getDuration, getFormat, getFormatControls, getStreams, getStreamSyncRoot, setCaptureDeviceInfo, setFormat, start, stop, streamspublic void doConnect()
throws IOException
doConnect in class AbstractPullBufferCaptureDeviceIOException - if anything goes wrong while opening the connection
to the media source specified by the MediaLocator of this
DataSourceprotected IVFStream createStream(int streamIndex, javax.media.control.FormatControl formatControl)
AbstractPushBufferCaptureDevice.createStream(int, 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 instanceprotected javax.media.Format[] getSupportedFormats(int streamIndex)
getSupportedFormats in class AbstractPullBufferCaptureDevicestreamIndex - the zero-based index of the PullBufferStream
for which the specified FormatControl is to report the list of
supported FormatsCopyright © 2022 jitsi.org. All rights reserved.