Passing settings to the filter


Most of the initialization parameters can be passed to the filter in 2 ways:


1. either programmatically through the IdatasteadRtspSourceConfig interface (described later in this documentation)


2. either as string parameter at the end of the RTSP URL, by adding a ">" character followed by the parameter identifier, a "=", and the value.


The parameter indentifiers are not case-sensitive.


E.g.:


>buffer=0


>Buffer=0


>lowdelay=1


>Buffer=0>LowDelay=1


Example with a full RTSP URL (in blue) with filter settings added at the end of the RTSP URL (in black):


rtsp://root:admin@192.168.0.25/axis-media/media.amp?videocodec=h264>Buffer=0>LowDelay=1>DestIPAddress=192.168.0.231>DestIPPort=30000>DestBitRate=1500>DestKeyFrameInterval=15



For readability it is also possible to pass to URL with parameters as a multi-line string, each line being separated by CR/LF characters, e.g.:


rtsp://root:admin@192.168.0.25/axis-media/media.amp?videocodec=h264

>Buffer=0

>LowDelay=1

>DestIPAddress=192.168.0.231

>DestIPPort=30000

>DestBitRate=1500

>DestKeyFrameInterval=15


43