2 years ago
#61075

Abhishek Gupta
How to implement PTZControl of an ip camera streaming in RTSP
I am trying the below code for zoom and other ptzcontrols for an ip camera streaming using rtsp link.
curl -X PUT \
http://admin:12345@103.124.172.70/PTZCtrl/channels/101/continuous \
-H 'cache-control: no-cache' \
-H 'content-type: application/xml' \
-H 'postman-token: 7623723a-ae45-f7d1-8073-ecf062fc8721' \
-d '<PTZData version="2.0" xmlns="http://admin:12345@103.124.172.70">
<zoom>1</zoom>
</PTZData>'
But i am getting below error:
401 Unauthorized
Your client does not have permission to get URL /PTZCtrl/channels/101/continuous from this server.
php
rtsp
ip-camera
0 Answers
Your Answer