Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Create a docker image and upload to Docker Hub #16

Closed
givo opened this issue Jun 11, 2020 · 4 comments
Closed

Feature Request: Create a docker image and upload to Docker Hub #16

givo opened this issue Jun 11, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@givo
Copy link

givo commented Jun 11, 2020

Hi,

This is a really good project and I think a lot of us would love to use it using docker.
Can you please create a docker image and upload it to docker hub?

Thank you!

@aler9 aler9 added the enhancement New feature or request label Jun 15, 2020
@flaksirus
Copy link

flaksirus commented Jun 16, 2020

I don't know why but I've tried this and some other rtsp servers with docker containers and none of them worked really... My host system is Windows so I tried WSL2 docker and docker on ubuntu server and none of them worked well (they do connect but stream fails before first frame seen). The same time all of them hosted without docker works just fine (even on WSL). I also tried --network=host with no luck.
Am I the only one who got this kind of problem?

@aler9
Copy link
Member

aler9 commented Jun 17, 2020

Hello, hosting a RTSP server inside a Docker container is problematic since Docker can, in certain situations, change the source port of UDP packets, making RTSP-via-UDP unreliable, since UDP packets are identified and routed by a RTSP server by looking at their source IP and port.

There are two ways to solve the problem:

  • create the container with --network=host
  • expose the TCP port (-p 8554), and disable the UDP protocol (in rtsp-simple-server, this is done with --protocols=tcp)

Anyway, a docker image for rtsp-simple-server is on its way.

@aler9
Copy link
Member

aler9 commented Jun 21, 2020

Docker images are ready and available at
https://hub.docker.com/r/aler9/rtsp-simple-server

@aler9 aler9 closed this as completed Jun 21, 2020
@github-actions
Copy link
Contributor

github-actions bot commented Jan 1, 2023

This issue is being locked automatically because it has been closed for more than 6 months.
Please open a new issue in case you encounter a similar problem.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants