SIP Communicator: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.media
Class CaptureDeviceDelegatePushBufferDataSource

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

public abstract class CaptureDeviceDelegatePushBufferDataSource
extends javax.media.protocol.PushBufferDataSource
implements javax.media.protocol.CaptureDevice

Represents a PushBufferDataSource which is also a CaptureDevice through delegation to a specific CaptureDevice.

Author:
Lubomir Marinov

Field Summary
 
Fields inherited from interface javax.media.Duration
DURATION_UNBOUNDED, DURATION_UNKNOWN
 
Constructor Summary
CaptureDeviceDelegatePushBufferDataSource(javax.media.protocol.CaptureDevice captureDevice)
          Initializes a new CaptureDeviceDelegatePushBufferDataSource instance which delegates to a specific CaptureDevice in order to implement its CaptureDevice functionality.
 
Method Summary
 javax.media.CaptureDeviceInfo getCaptureDeviceInfo()
           
 javax.media.control.FormatControl[] getFormatControls()
           
 
Methods inherited from class javax.media.protocol.PushBufferDataSource
getStreams
 
Methods inherited from class javax.media.protocol.DataSource
connect, disconnect, getContentType, getControl, getControls, getDuration, getLocator, initCheck, setLocator, start, stop
 
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.CaptureDevice
connect, disconnect, start, stop
 

Constructor Detail

CaptureDeviceDelegatePushBufferDataSource

public CaptureDeviceDelegatePushBufferDataSource(javax.media.protocol.CaptureDevice captureDevice)
Initializes a new CaptureDeviceDelegatePushBufferDataSource instance which delegates to a specific CaptureDevice in order to implement its CaptureDevice functionality.

Parameters:
captureDevice - the CaptureDevice the new instance is to delegate to in order to provide its CaptureDevice functionality
Method Detail

getCaptureDeviceInfo

public javax.media.CaptureDeviceInfo getCaptureDeviceInfo()
Specified by:
getCaptureDeviceInfo in interface javax.media.protocol.CaptureDevice

getFormatControls

public javax.media.control.FormatControl[] getFormatControls()
Specified by:
getFormatControls in interface javax.media.protocol.CaptureDevice

SIP Communicator: the OpenSource Java VoIP and Instant Messaging client.

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