net.sf.fmj.media
Class MergingCaptureDevicePullBufferDataSource

java.lang.Object
  extended by javax.media.protocol.DataSource
      extended by javax.media.protocol.PullBufferDataSource
          extended by net.sf.fmj.media.MergingPullBufferDataSource
              extended by net.sf.fmj.media.MergingCaptureDevicePullBufferDataSource
All Implemented Interfaces:
Controls, Duration, CaptureDevice

public class MergingCaptureDevicePullBufferDataSource
extends MergingPullBufferDataSource
implements CaptureDevice

Merges multiple PullBufferDataSource that implement CaptureDevice.

Author:
Ken Larson

Field Summary
 
Fields inherited from class net.sf.fmj.media.MergingPullBufferDataSource
sources
 
Fields inherited from interface javax.media.Duration
DURATION_UNBOUNDED, DURATION_UNKNOWN
 
Constructor Summary
MergingCaptureDevicePullBufferDataSource(java.util.List<PullBufferDataSource> sources)
           
 
Method Summary
 CaptureDeviceInfo getCaptureDeviceInfo()
           
 FormatControl[] getFormatControls()
           
 
Methods inherited from class net.sf.fmj.media.MergingPullBufferDataSource
connect, disconnect, getContentType, getControl, getControls, getDuration, getStreams, start, stop
 
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
 
Methods inherited from interface javax.media.protocol.CaptureDevice
connect, disconnect, start, stop
 

Constructor Detail

MergingCaptureDevicePullBufferDataSource

public MergingCaptureDevicePullBufferDataSource(java.util.List<PullBufferDataSource> sources)
Method Detail

getCaptureDeviceInfo

public CaptureDeviceInfo getCaptureDeviceInfo()
Specified by:
getCaptureDeviceInfo in interface CaptureDevice

getFormatControls

public FormatControl[] getFormatControls()
Specified by:
getFormatControls in interface CaptureDevice