Class AbstractVideoPushBufferCaptureDevice
- java.lang.Object
-
- javax.media.protocol.DataSource
-
- javax.media.protocol.PushBufferDataSource
-
- org.jitsi.impl.neomedia.jmfext.media.protocol.AbstractPushBufferCaptureDevice
-
- org.jitsi.impl.neomedia.jmfext.media.protocol.AbstractVideoPushBufferCaptureDevice
-
- All Implemented Interfaces:
javax.media.Controls,javax.media.Duration,javax.media.protocol.CaptureDevice,javax.media.protocol.Controls
- 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
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractVideoPushBufferCaptureDevice()Initializes a new AbstractVideoPushBufferCaptureDevice instance.protectedAbstractVideoPushBufferCaptureDevice(javax.media.MediaLocator locator)Initializes a new AbstractVideoPushBufferCaptureDevice instance from a specific MediaLocator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.media.control.FrameRateControlcreateFrameRateControl()Creates a new FrameRateControl instance which is to allow the getting and setting of the frame rate of this AbstractVideoPushBufferCaptureDevice.-
Methods inherited from class org.jitsi.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
-
-
-
-
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:
createFrameRateControlin classAbstractPushBufferCaptureDevice- Returns:
- a new FrameRateControl instance which is to allow the getting and setting of the frame rate of this AbstractVideoPushBufferCaptureDevice
- See Also:
AbstractPushBufferCaptureDevice.createFrameRateControl()
-
-