Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.neomedia.jmfext.media.protocol
Class AbstractVideoPullBufferCaptureDevice

java.lang.Object
  extended by javax.media.protocol.DataSource
      extended by javax.media.protocol.PullBufferDataSource
          extended by net.java.sip.communicator.impl.neomedia.jmfext.media.protocol.AbstractPullBufferCaptureDevice
              extended by net.java.sip.communicator.impl.neomedia.jmfext.media.protocol.AbstractVideoPullBufferCaptureDevice
All Implemented Interfaces:
javax.media.Controls, javax.media.Duration, javax.media.protocol.CaptureDevice
Direct Known Subclasses:
DataSource, DataSource

public abstract class AbstractVideoPullBufferCaptureDevice
extends AbstractPullBufferCaptureDevice

Provides a base implementation of PullBufferDataSource and CaptureDevice for the purposes of video in order to facilitate implementers by taking care of boilerplate in the most common cases.

Author:
Lyubomir Marinov

Field Summary
 
Fields inherited from interface javax.media.Duration
DURATION_UNBOUNDED, DURATION_UNKNOWN
 
Constructor Summary
protected AbstractVideoPullBufferCaptureDevice()
          Initializes a new AbstractVideoPullBufferCaptureDevice instance.
protected AbstractVideoPullBufferCaptureDevice(javax.media.MediaLocator locator)
          Initializes a new AbstractVideoPullBufferCaptureDevice instance from a specific MediaLocator.
 
Method Summary
protected  javax.media.control.FrameRateControl createFrameRateControl()
          Creates a new FrameRateControl instance which is to allow the getting and setting of the frame rate of this AbstractVideoPullBufferCaptureDevice.
 
Methods inherited from class net.java.sip.communicator.impl.neomedia.jmfext.media.protocol.AbstractPullBufferCaptureDevice
connect, createStream, disconnect, doConnect, doDisconnect, doStart, doStop, getCaptureDeviceInfo, getContentType, getControl, getControls, getDuration, getFormat, getFormatControls, getStreams, getStreamSyncRoot, getSupportedFormats, setCaptureDeviceInfo, setFormat, start, stop, streams
 
Methods inherited from class javax.media.protocol.DataSource
getLocator, initCheck, setLocator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractVideoPullBufferCaptureDevice

protected AbstractVideoPullBufferCaptureDevice()
Initializes a new AbstractVideoPullBufferCaptureDevice instance.


AbstractVideoPullBufferCaptureDevice

protected AbstractVideoPullBufferCaptureDevice(javax.media.MediaLocator locator)
Initializes a new AbstractVideoPullBufferCaptureDevice instance from a specific MediaLocator.

Parameters:
locator - the MediaLocator to create the new instance from
Method Detail

createFrameRateControl

protected javax.media.control.FrameRateControl createFrameRateControl()
Creates a new FrameRateControl instance which is to allow the getting and setting of the frame rate of this AbstractVideoPullBufferCaptureDevice.

Overrides:
createFrameRateControl in class AbstractPullBufferCaptureDevice
Returns:
a new FrameRateControl instance which is to allow the getting and setting of the frame rate of this AbstractVideoPullBufferCaptureDevice
See Also:
AbstractPullBufferCaptureDevice.createFrameRateControl()

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.