agsh / rtsp-ffmpeg

Node.js FFMpeg wrapper for streaming RTSP into MotionJPEG
MIT License
248 stars 84 forks source link

How to autenticate to rtps #12

Closed Seikon closed 7 years ago

Seikon commented 7 years ago

I have a IP Camera whose url to start streaming is:

rtsp://192.168.1.168:80/ch0_0.264

But after var stream = new rtsp.FFMpeg({input:uri}), I need to autenticate with RTPS protocol before start streaming. How can I do it this with this library?

Thank you in advance!

Seikon commented 7 years ago

Solved! it worked with rtsp://user:password@192.168.1.168:80/ch0_0.264