public class VideoGreyFadingStream extends AbstractVideoPullBufferStream<DataSource>
dataSource, formatControl
Constructor and Description |
---|
VideoGreyFadingStream(DataSource dataSource,
javax.media.control.FormatControl formatControl)
Initializes a new VideoGreyFadingStream which is to be exposed
by a specific VideoGreyFadingCaptureDevice and which is to have
its Format-related information abstracted by a specific
FormatControl.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doRead(javax.media.Buffer buffer)
Reads available media data from this instance into a specific
Buffer.
|
read, start, stop
willReadBlock
close, doGetFormat, doSetFormat, endOfStream, getContentDescriptor, getContentLength, getControls, getFormat
getControl, getControl, queryInterface, queryInterface
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public VideoGreyFadingStream(DataSource dataSource, javax.media.control.FormatControl formatControl)
dataSource
- the VideoGreyFadingCaptureDevice which is
initializing the new instance and which is to expose it in its array
of PushBufferStreamsformatControl
- the FormatControl which is to abstract
the Format-related information of the new instanceprotected void doRead(javax.media.Buffer buffer) throws java.io.IOException
doRead
in class AbstractVideoPullBufferStream<DataSource>
buffer
- the Buffer to write the available media data
intojava.io.IOException
- if an I/O error has prevented the reading of
available media data from this instance into the specified
buffer
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.