Steaming-IP-Camera-Nodejs
Steaming-IP-Camera-Nodejs copied to clipboard
Invalid data found and Procotol not found error
I have a problem trying to use the sample code. I have a camera that I bought in China, it doesn't have much documentation. When I run the code I get the error 'Protocol not found' or the error 'tcp://admin:[email protected]:8554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif: Invalid data found when processing input ' and 'rstp://admin:[email protected]:8554/cam/realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif: Protocol not found'. I tried to run with other protocols but without success. It is not an error in the code because when executing these commands in ffplay or ffmpeg the same thing happens. Can someone help me ?
you can run this command: npm install node-onvif -s to install protocol before run