Modifier and Type | Field and Description |
---|---|
static int |
DSHOW |
static int |
WM_NET |
static int |
WM_PUSH |
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 and Description |
---|
NetworkSink(int mt) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
static NetworkSink |
fromXML(java.lang.String name,
java.lang.String outputPath)
Creates a NetworkSink 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. |
java.lang.String |
getLocalAddress() |
int |
getPort() |
DSFilterInfo |
getStreamWriterInfo() |
void |
setStreamWriter(DSFilterInfo writerInfo) |
void |
start() |
java.lang.String |
toString() |
getAudioEncoderInfo, getFlags, getMultiplexerInfo, getOutputPath, getVideoEncoderInfo, getWriterInfo, setAudioEncoder, setFlags, setMultiplexer, setVideoEncoder
public static final int WM_NET
public static final int WM_PUSH
public static final int DSHOW
public void start()
public void close()
public java.lang.String getLocalAddress()
public int getPort()
public static NetworkSink fromXML(java.lang.String name, java.lang.String outputPath)
public void setStreamWriter(DSFilterInfo writerInfo)
public DSFilterInfo getStreamWriterInfo()
public java.lang.String toString()
toString
in class java.lang.Object