curl-library
RTSP and ONVIF camera streaming protocol
Date: Sat, 17 Mar 2018 17:54:14 +0100
Hi,
I am trying to use libcurl to manage rtsp streaming with a D-Link camera.
ONVIF streaming specification
(https://www.onvif.org/specs/stream/ONVIF-Streaming-Spec-v221.pdf)
introduced an audio backchannel feature .
A field 'require' is mandatory in DESCRIBE request as in this example:
Client – Server:
DESCRIBE rtsp://192.168.0.1 RTSP/1.0
CSeq: 1
User-Agent: ONVIF Rtsp client
Accept: application/sdp
Require: www.onvif.org/ver20/backchannel
Server – Client:
RTSP/1.0 200 OK
CSeq: 1
Content-Type: application/sdp
Content-Length: xxx
v=0
o= 2890842807 IN IP4 192.168.0.1
s=RTSP Session with audiobackchannel
m=video 0 RTP/AVP 26
a=control:rtsp://192.168.0.1/video
a=recvonly
m=audio 0 RTP/AVP 0
a=control:rtsp://192.168.0.1/audio
a=recvonly
m=audio 0 RTP/AVP 0
a=control:rtsp://192.168.0.1/audioback
a=rtpmap:0 PCMU/8000
a=sendonly
my question is: how can I add the field "Require:......." in DESCRIBE
request header?
Thanks for your help
JN Prigent
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-03-17