I am trying to setup a single docker that can stream local file as rtsp to a port.
Meaning, within the docker there will be some local videos publish as rtsp to a port of that docker.
Then externally, I can fetch the stream from rtsp://:/mystream
I tried looking into rtsp-simple-server, but it does not seem to have the option of local file streaming, rather it requires first set up a docker server then using ffmpeg to publish video to that server.
Is there a way to achieve the wanted single docker RTSP stream server?
There is another response of building a docker with VLC installed, however it seem to be bulky and overkill, plus the outcome does not seem to be as smooth.