class AudioSilenceCaptureDevice extends AbstractPushBufferCaptureDevice
Constructor and Description |
---|
AudioSilenceCaptureDevice(boolean clockOnly)
Initializes a new
AudioSilenceCaptureDevice . |
Modifier and Type | Method and Description |
---|---|
protected org.jitsi.impl.neomedia.device.AudioSilenceCaptureDevice.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, streams
AudioSilenceCaptureDevice(boolean clockOnly)
AudioSilenceCaptureDevice
.clockOnly
- whether the AudioSilenceCaptureDevice.AudioSilenceStream
s created by this instance
are to be used only for the purpose of ticking the clock which makes
AudioMixer
run.protected org.jitsi.impl.neomedia.device.AudioSilenceCaptureDevice.AudioSilenceStream createStream(int streamIndex, javax.media.control.FormatControl formatControl)
AbstractPushBufferCaptureDevice.createStream(int, FormatControl)
.createStream
in class AbstractPushBufferCaptureDevice
streamIndex
- 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 AbstractPushBufferCaptureDevice
streamIndex
- the zero-based index of the PushBufferStream
for which the specified FormatControl is to report the list of
supported Formats
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.