public class DataSource extends AbstractPushBufferCaptureDevice
| Modifier and Type | Field and Description |
|---|---|
static String |
NO_TRANSFER_DATA
The optional
MediaLocator remainder to indicate to
DataSource and its associated AudioSilenceStream that
BufferTransferHandler.transferData(PushBufferStream) is to not be
invoked. |
static javax.media.Format[] |
SUPPORTED_FORMATS
The list of Formats supported by the
AudioSilenceCaptureDevice instances.
|
| Constructor and Description |
|---|
DataSource() |
| Modifier and Type | Method and Description |
|---|---|
protected org.jitsi.impl.neomedia.jmfext.media.protocol.audiosilence.DataSource.AudioSilenceStream |
createStream(int streamIndex,
javax.media.control.FormatControl formatControl)
Create a new PushBufferStream which is to be at a specific
zero-based index in the list of streams of this
PushBufferDataSource.
|
protected javax.media.Format[] |
getSupportedFormats(int streamIndex)
Gets the Formats which are to be reported by a
FormatControl as supported formats for a
PushBufferStream at a specific zero-based index in the list of
streams of this PushBufferDataSource.
|
connect, createFrameRateControl, disconnect, doConnect, doDisconnect, doStart, doStop, getCaptureDeviceInfo, getContentType, getControl, getControls, getDuration, getFormat, getFormatControls, getStreams, getStreamSyncRoot, setFormat, start, stop, streamspublic static final String NO_TRANSFER_DATA
MediaLocator remainder to indicate to
DataSource and its associated AudioSilenceStream that
BufferTransferHandler.transferData(PushBufferStream) is to not be
invoked. If true, then the DataSource is a dummy suitable
for scenarios in which an capature device is required but no audio
samples from it are necessary such as negotiating signaling for audio but
actually RTP translating other participants/peers' audio.public static final javax.media.Format[] SUPPORTED_FORMATS
protected org.jitsi.impl.neomedia.jmfext.media.protocol.audiosilence.DataSource.AudioSilenceStream createStream(int streamIndex,
javax.media.control.FormatControl formatControl)
AbstractPushBufferCaptureDevice.createStream(int, FormatControl).createStream in class AbstractPushBufferCaptureDevicestreamIndex - the zero-based index of the PushBufferStream
in the list of streams of this PushBufferDataSourceformatControl - the FormatControl which is to abstract the
Format-related information of the new instanceprotected javax.media.Format[] getSupportedFormats(int streamIndex)
getSupportedFormats in class AbstractPushBufferCaptureDevicestreamIndex - the zero-based index of the PushBufferStream
for which the specified FormatControl is to report the list of
supported FormatsCopyright © 2021 jitsi.org. All rights reserved.