public class WMNetSink extends WMSink
DSHOW, WM_NET, 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 |
---|
WMNetSink(DSFiltergraph graph,
int localPort,
DSFilterInfo profile,
boolean displayLocal) |
Modifier and Type | Method and Description |
---|---|
void |
addAccessEntry(boolean allow,
java.net.InetAddress address,
java.net.InetAddress mask)
Governs access rights for client connections.
|
void |
clearAccessControlList()
Clears all entries previously added to the access control list.
|
java.lang.String |
getClientAddress(int cIndex)
Returns a String containing IP and port (exp: "192.168.0.1:4050") of the client at cIndex (0 based) or null if there is no client at the given index..
|
int |
getClientCount()
Returns the number of clients currently connected to this sink.
|
void |
setMaxClients(int mc)
Limits the number of clients that can connect to this sink.
|
close, getLocalAddress, getPort, getProfile, start
fromXML, getStreamWriterInfo, setStreamWriter, toString
getAudioEncoderInfo, getFlags, getMultiplexerInfo, getOutputPath, getVideoEncoderInfo, getWriterInfo, setAudioEncoder, setFlags, setMultiplexer, setVideoEncoder
public WMNetSink(DSFiltergraph graph, int localPort, DSFilterInfo profile, boolean displayLocal)
public void setMaxClients(int mc) throws DSJException
DSJException
public void addAccessEntry(boolean allow, java.net.InetAddress address, java.net.InetAddress mask) throws DSJException
DSJException
public void clearAccessControlList() throws DSJException
DSJException
public int getClientCount()
public java.lang.String getClientAddress(int cIndex)