|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.humatic.dsj.src.Source
de.humatic.dsj.src.NetworkSource
de.humatic.dsj.src.MJPGNetworkSource
public class MJPGNetworkSource
MJPGNetworkSource reads streams from IP Cameras operating with MotionJPG Compression.
| Field Summary | |
|---|---|
static int |
JPG_QUALITY
Source parameter |
| Fields inherited from class de.humatic.dsj.src.NetworkSource |
|---|
BUFFER_OVERFLOW, CONNECTION_TIMEOUT, FASTSTART, H264_FASTSTART, H264_FORCE_INLINE_SPS, H264_OMMIT_SPS, H264_PASS_INLINE_SPS, IDLE_TIMEOUT, KF_NOTIFY, LIVE_SRC, MAX_BUFFER_TIME, MAX_DURATION, MAX_FRAME_TIME, NO_USER_PROMPT, READ_USER_DATA, RECEIVE_TIMEOUT, RTCP_RECEIVE_ERROR, SEEK_FAILURE, SOCKET_ERROR, STARVING, UDP_UNCONNECTED |
| Fields inherited from class de.humatic.dsj.src.Source |
|---|
ASYNC, AUTO_GC, DIRECT, ES, FILTER_SETUP_ERROR, FLV, HTTP, HTTP_AUDIO, JAS, MJPG, MKV, MP4, PSNET, PULL, PUSH, RAW, RTMP, RTP, RTSP, SHOUTCAST, SS_CLOSED, SS_CONNECT, SS_CONNECTED, SS_DONE, SS_EOS, SS_FORMAT_READ, SS_RUNNING, SS_SEEKING, SS_SETUP, SS_STREAMS_READ, SS_TCP_ROLLOVER, TIMEOUT, TSFILE, TSNET, UNKNOWN |
| Constructor Summary | |
|---|---|
MJPGNetworkSource(java.lang.String path,
java.beans.PropertyChangeListener listener)
Anonymously connects to the stream at the given address. |
|
MJPGNetworkSource(java.lang.String path,
java.lang.String userName,
java.lang.String password,
int flags,
java.beans.PropertyChangeListener listener)
Connects to the stream at the given address using the supplied authorization. |
|
MJPGNetworkSource(java.lang.String path,
java.lang.String userName,
java.lang.String password,
java.beans.PropertyChangeListener listener)
Connects to the stream at the given address using the supplied authorization. |
|
| Method Summary | |
|---|---|
void |
closeSource(boolean terminate)
Closes down the source. |
DSGraph |
createGraph(int graphFlags)
Creates a DSGraph object with CompressedJavaSource filters that are fed from this source. |
DSGraph |
createGraph(int graphFlags,
DSFilterInfo videoDecoder,
DSFilterInfo audioDecoder)
Creates a DSGraph object with CompressedJavaSource filters, fed from this source and the given video and audio decoders. |
DSMediaType[] |
getMediaTypes()
Returns the media types created by this source. |
int |
queryParameter_int(int parameter)
|
static void |
setExpectedJPGQuality(int q)
Sets a static variable denoting the compression grade of jpeg images to be expected. |
| Methods inherited from class de.humatic.dsj.src.NetworkSource |
|---|
configurePasswordDialog, getDefaultInterfaceAddress, getPasswordDialogOptions, getServerInfo, getTimeConstraint, setConnectionTimeout, setHTTPConnector, setNetworkInterface, setSocketFactory, setTimeConstraint, setUserAgent |
| Methods inherited from class de.humatic.dsj.src.Source |
|---|
addSourceFilter, asyncRead, canSeek, createSourceFilter_async, createSourceFilter, getAvailable, getBuffered, getGraph, getID, getMaxTimeLoaded, getMinBufferTime, getNumChannels, getOffsetTime, getPath, getSourceDuration, getSourceFilter, getSourceFilters, getSourceFlags, getSourceTime, getTransport, getType, isLive, notifyChannelFailure, read, sendEvent, setOffsetTime, setSourceRate, setSourceTime, streamSeek, syncRead |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int JPG_QUALITY
| Constructor Detail |
|---|
public MJPGNetworkSource(java.lang.String path,
java.beans.PropertyChangeListener listener)
throws java.lang.Exception
java.lang.Exception
public MJPGNetworkSource(java.lang.String path,
java.lang.String userName,
java.lang.String password,
java.beans.PropertyChangeListener listener)
throws java.lang.Exception
java.lang.Exception
public MJPGNetworkSource(java.lang.String path,
java.lang.String userName,
java.lang.String password,
int flags,
java.beans.PropertyChangeListener listener)
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public void closeSource(boolean terminate)
Source
closeSource in class Sourcepublic DSGraph createGraph(int graphFlags)
Source
createGraph in class Source
public DSGraph createGraph(int graphFlags,
DSFilterInfo videoDecoder,
DSFilterInfo audioDecoder)
Source
createGraph in class Sourcepublic DSMediaType[] getMediaTypes()
Source
getMediaTypes in class Sourcepublic static void setExpectedJPGQuality(int q)
public int queryParameter_int(int parameter)
queryParameter_int in class Source
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||