|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.neomedia.control.AbstractControls
net.java.sip.communicator.impl.neomedia.jmfext.media.protocol.AbstractBufferStream
net.java.sip.communicator.impl.neomedia.jmfext.media.protocol.AbstractPushBufferStream
net.java.sip.communicator.impl.neomedia.jmfext.media.protocol.quicktime.QuickTimeStream
public class QuickTimeStream
Implements a PushBufferStream using QuickTime/QTKit.
| Field Summary | |
|---|---|
(package private) QTCaptureDecompressedVideoOutput |
captureOutput
The QTCaptureOutput represented by this SourceStream. |
| Fields inherited from class net.java.sip.communicator.impl.neomedia.jmfext.media.protocol.AbstractPushBufferStream |
|---|
transferHandler |
| Fields inherited from class net.java.sip.communicator.impl.neomedia.jmfext.media.protocol.AbstractBufferStream |
|---|
dataSource, formatControl |
| Fields inherited from interface javax.media.protocol.SourceStream |
|---|
LENGTH_UNKNOWN |
| Constructor Summary | |
|---|---|
QuickTimeStream(DataSource dataSource,
javax.media.control.FormatControl formatControl)
Initializes a new QuickTimeStream instance which is to have its Format-related information abstracted by a specific FormatControl. |
|
| Method Summary | |
|---|---|
void |
close()
Releases the resources used by this instance throughout its existence and makes it available for garbage collection. |
protected javax.media.Format |
doGetFormat()
Gets the Format of this PushBufferStream as directly known by it. |
float |
getFrameRate()
Gets the output frame rate of the QTCaptureDecompressedVideoOutput represented by this QuickTimeStream. |
void |
read(javax.media.Buffer buffer)
Reads media data from this PushBufferStream into a specific Buffer without blocking. |
float |
setFrameRate(float frameRate)
Sets the output frame rate of the QTCaptureDecompressedVideoOutput represented by this QuickTimeStream. |
void |
start()
Starts the transfer of media data from this PushBufferStream. |
void |
stop()
Stops the transfer of media data from this PushBufferStream. |
| Methods inherited from class net.java.sip.communicator.impl.neomedia.jmfext.media.protocol.AbstractPushBufferStream |
|---|
setTransferHandler |
| Methods inherited from class net.java.sip.communicator.impl.neomedia.jmfext.media.protocol.AbstractBufferStream |
|---|
doSetFormat, endOfStream, getContentDescriptor, getContentLength, getControls, getFormat |
| Methods inherited from class net.java.sip.communicator.impl.neomedia.control.AbstractControls |
|---|
getControl, getControl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.media.protocol.PushBufferStream |
|---|
getFormat |
| Methods inherited from interface javax.media.protocol.SourceStream |
|---|
endOfStream, getContentDescriptor, getContentLength |
| Methods inherited from interface javax.media.Controls |
|---|
getControl, getControls |
| Field Detail |
|---|
final QTCaptureDecompressedVideoOutput captureOutput
| Constructor Detail |
|---|
QuickTimeStream(DataSource dataSource,
javax.media.control.FormatControl formatControl)
dataSource - the DataSource which is creating the new
instance so that it becomes one of its streamsformatControl - the FormatControl which is to abstract the
Format-related information of the new instance| Method Detail |
|---|
public void close()
close in class AbstractBufferStreamAbstractBufferStream.close()protected javax.media.Format doGetFormat()
doGetFormat in class AbstractBufferStreampublic float getFrameRate()
public void read(javax.media.Buffer buffer)
throws IOException
buffer - the Buffer in which media data is to be read from
this PushBufferStream
IOException - if anything goes wrong while reading media data from
this PushBufferStream into the specified bufferpublic float setFrameRate(float frameRate)
frameRate - the output frame rate to be set on the
QTCaptureDecompressedVideoOutput represented by this
QuickTimeStream
public void start()
throws IOException
start in class AbstractBufferStreamIOException - if anything goes wrong while starting the transfer of
media data from this PushBufferStream
public void stop()
throws IOException
stop in class AbstractBufferStreamIOException - if anything goes wrong while stopping the transfer of
media data from this PushBufferStream
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||