1

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.

Gary Lu
  • 33
  • 2
  • 5

1 Answers1

0

Hi,

Most RTSP Servers works like you descripe you have a server instance and publish then a stream to them.

Its not hard to build a own RTSP server with gstreamer and python here is a link ,look at the answer, the did exactly what u need.

good start a for a new program project =)

Christoph
  • 647
  • 5
  • 18