0
Turns out, this library doesn’t work properly in windows. Changed to rtsp-ffmpeg and I got it work.
related git issue: https://github.com/kyriesent/node-rtsp-stream/issues/28
- You have to add ffmepg.exe in your project folder to trigger ffmpeg in nodejs. This library can find the path properly in Linux/Unix. Also, many of other functions from this library doesn’t work properly (maybe on windows only) so I do not suggest it to anyone who needs to develop it on window, web, and nodejs based environment.
The one I’ve got it work:
https://www.npmjs.com/package/rtsp-ffmpeg
Source:stackexchange.com