I am trying to stream a (.mp4) file through my nodejs server using RTSP. I searched a lot and got stumbled upon this:
which really looks promising.
I tried streaming the video over rtsp and testing in VLC media player as provided in the docs like: rtps://localhost:8080/video.mp4 and the vlc is unable to play any video. The doc for the above says that you can access streamed video using file path directly which clearly doesn't work over RTSP.
I did some more research and found that RTSP requires a SDP to be constructed first. What is the best way to construct a proper SDP and then RTSP it on a specific port using a path.
(e.g rstp://112.332.3.1:8493/someFilePath)
Excuse the terminology if it looks a bit weird, I am new to all this. I am working in a nodejs ecosystem on the server side which can easily implement a ffmpeg and my client is going to be a simple html5 app over cordova.