Steaming-IP-Camera-Nodejs icon indicating copy to clipboard operation
Steaming-IP-Camera-Nodejs copied to clipboard

Invalid data found and Procotol not found error

Open andrepesi opened this issue 1 year ago • 1 comments

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 ?

image

andrepesi avatar Feb 17 '23 21:02 andrepesi

you can run this command: npm install node-onvif -s to install protocol before run

buithikieu11 avatar Oct 17 '23 03:10 buithikieu11