Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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

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

public abstract class AbstractVideoPushBufferCaptureDevice
extends AbstractPushBufferCaptureDevice

Provides a base implementation of PushBufferDataSource 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 AbstractVideoPushBufferCaptureDevice()
          Initializes a new AbstractVideoPushBufferCaptureDevice instance.
protected AbstractVideoPushBufferCaptureDevice(javax.media.MediaLocator locator)
          Initializes a new AbstractVideoPushBufferCaptureDevice 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 AbstractVideoPushBufferCaptureDevice.
 
Methods inherited from class net.java.sip.communicator.impl.neomedia.jmfext.media.protocol.AbstractPushBufferCaptureDevice
connect, createStream, disconnect, doConnect, doDisconnect, doStart, doStop, getCaptureDeviceInfo, getContentType, getControl, getControls, getDuration, getFormat, getFormatControls, getStreams, getStreamSyncRoot, getSupportedFormats, 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

AbstractVideoPushBufferCaptureDevice

protected AbstractVideoPushBufferCaptureDevice()
Initializes a new AbstractVideoPushBufferCaptureDevice instance.


AbstractVideoPushBufferCaptureDevice

protected AbstractVideoPushBufferCaptureDevice(javax.media.MediaLocator locator)
Initializes a new AbstractVideoPushBufferCaptureDevice 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 AbstractVideoPushBufferCaptureDevice.

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

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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