[Live-devel] openRTSP, how to capture ONVIF metadata stream content?

p at min.nl p at min.nl
Thu Oct 31 07:31:02 PDT 2019


Hello,

This may just be me missing something small / being stupid, but..:

when I connect to an RTSP camera stream like so:

openRTSP rtsp://USER:PASSWORD@192.168.1.20:5554/live/ch1

part of the output I see is:

--------------------------
Received 170 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 6
Transport: RTP/AVP;unicast;client_port=39458-39459;server_port=20002-20003;ssrc=44ADCF73
Session: F4A7DBD1AE95170FF8D9DC8DA7E3FE;timeout=60


Setup "application/VND.ONVIF.METADATA" subsession (client ports 39458-39459)
Created output file: "video-H264-1"
Created output file: "application-VND.ONVIF.METADATA-2"
--------------------------


After that, the video file fills up ok, but the "metadata" file remains empty.

What could be a reason for this?
(I'd like to capture only the metadata)

Thanks in any case,
best,

Patrick


More information about the live-devel mailing list