de.humatic.dsj.sink
Class WMPushSink

java.lang.Object
  extended by de.humatic.dsj.sink.Sink
      extended by de.humatic.dsj.sink.NetworkSink
          extended by de.humatic.dsj.sink.WMSink
              extended by de.humatic.dsj.sink.WMPushSink

public class WMPushSink
extends WMSink

WMPushSink may be used to push any DSFiltergraph's data to a publishing point on a WindowsMedia server.
The publishing point (and optionally the port number) are passed in the URL (for example mms://MyServer/MyPublishingPoint, or mms://MyServer:8080/MyPublishingPoint)
There are a lot of ISPs that offer WindowsMediaServer channels, some also run freely accessible test servers that may come in handy during programming.
Quality and bitrate of the stream are controlled by the supplied WindowsMedia profile. If this is null dsj will try to choose reasonable defaults. When supplying your own profile, take into account that the number of streams in the profile must match those of the source, i.e. when you want to stream an audio file or live audio input you must supply an audio only profile.


Field Summary
 
Fields inherited from class de.humatic.dsj.sink.NetworkSink
DSHOW, WM_NET, WM_PUSH
 
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
WMPushSink(DSFiltergraph graph, java.lang.String PublishingPointURL, DSFilterInfo profile, boolean displayLocal, java.lang.String user, java.lang.String password)
           
 
Method Summary
 
Methods inherited from class de.humatic.dsj.sink.WMSink
close, getLocalAddress, getPort, getProfile, start
 
Methods inherited from class de.humatic.dsj.sink.NetworkSink
fromXML, getStreamWriterInfo, setStreamWriter, 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

WMPushSink

public WMPushSink(DSFiltergraph graph,
                  java.lang.String PublishingPointURL,
                  DSFilterInfo profile,
                  boolean displayLocal,
                  java.lang.String user,
                  java.lang.String password)