de.humatic.dsj.sink
Class PlayoutSink

java.lang.Object
  extended by de.humatic.dsj.sink.Sink
      extended by de.humatic.dsj.sink.PlayoutSink
Direct Known Subclasses:
DVPlayoutSink, USB_DVR2Sink

public class PlayoutSink
extends Sink

Base class for hardware playout sinks.


Field Summary
 
Fields inherited from class de.humatic.dsj.sink.Sink
connected, CONTROLABLE, DISPLAY_LOCAL, DS_NETWORK, DUAL_OUTPUT, DUMP, FILE, flags, FORCE_PREVIEW_BRANCH, LOCAL, majorType, NO_CONTROLS, NO_TRANSCODE, PLAY_OUT, PREVIEW, SHOW_DIALOGS, SHOW_DLG_SAVE, subType, WM_NETWORK
 
Constructor Summary
PlayoutSink()
           
 
Method Summary
static PlayoutSink fromXML(java.lang.String name, java.lang.String outputPath)
          Creates a PlayoutSink from a filterchain description layed out in the xml setup file, allowing to easily extend functionality.
You will only get a valid object returned if the native DirectShow filters listed in the xml are installed on the runtime system.
 void setHardwareOutputFilter(DSFilterInfo sinkInfo)
           
 java.lang.String toString()
           
 
Methods inherited from class de.humatic.dsj.sink.Sink
getAudioEncoderInfo, getFlags, getMultiplexerInfo, getOutputPath, getVideoEncoderInfo, getWriterInfo, setAudioEncoder, setFlags, setMultiplexer, setVideoEncoder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PlayoutSink

public PlayoutSink()
Method Detail

fromXML

public static PlayoutSink fromXML(java.lang.String name,
                                  java.lang.String outputPath)
Creates a PlayoutSink from a filterchain description layed out in the xml setup file, allowing to easily extend functionality.
You will only get a valid object returned if the native DirectShow filters listed in the xml are installed on the runtime system. (Note that dsj does neither bring any encoding filters nor does it license you to use them or create content of the given type.)
For an example see the dsj.xml file in the demo directory.


setHardwareOutputFilter

public void setHardwareOutputFilter(DSFilterInfo sinkInfo)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object