public class VideoGreyFadingStream extends AbstractVideoPullBufferStream<DataSource>
|Constructor and Description|
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|
Reads available media data from this instance into a specific Buffer.
read, start, stop
close, doGetFormat, doSetFormat, endOfStream, getContentDescriptor, getContentLength, getControls, getFormat
getControl, getControl, queryInterface, queryInterface
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
endOfStream, getContentDescriptor, getContentLength
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 PushBufferStreams
formatControl- the FormatControl which is to abstract the Format-related information of the new instance
protected void doRead(javax.media.Buffer buffer) throws java.io.IOException
buffer- the Buffer to write the available media data into
java.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.