![Leuze 50132136 User Manual Download Page 14](http://html1.mh-extra.com/html/leuze/50132136/50132136_user-manual_1883786014.webp)
14
RTP Streaming
If RTP streaming is enabled, the camera stream jpeg images using RTP port 554.
Again VideoLANClient VLC can be used to display the images:
vlc rtsp://IPaddress/jpeg
Ring buffer
All jpeg images grabbed on the camera are buffered in a ring buffer.
Currently the ring buffer can hold
25
images.
The ring buffer can be triggered to stop buffering and storing the images into the file system.
The images are stored in the web servers home directory as "/camera/ring-buffer/main_imgNNN.jpg",
were "NNN" are "000" to "024".
After triggering the ring buffer, it must be re-armed. This can be done using the web page.
Alternatively the webserver URL
http://ipaddress/api/rearmRingBuffer.cgi
supplying the number of post alarm images:
http://ipaddress/api/rearmRingBuffer.cgi?post_trigger=2
The script returns a Json formatted string.
Below there is an example using "curl" on the commandline. With "libcurl" such a call can be
implemented in a C/C++ program. The cameras IP address is 192.168.2.159.
$ curl http://192.168.2.159/api/rearmRingBuffer.cgi?post_trigger=3
{"error_string":"","post_trigger":"3","trigger_port":5000,"enable":true,"po
st_trigger_config":0}
The ring buffer can be triggered using software by opening a TCP connection on port 5000.
Below there is an example using "Netcat" on a Linux system:
$ nc 192.168.2.159
OK