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

can it put into docker? #13

Closed
zhangliangbo opened this issue Jun 2, 2020 · 3 comments
Closed

can it put into docker? #13

zhangliangbo opened this issue Jun 2, 2020 · 3 comments

Comments

@zhangliangbo
Copy link

zhangliangbo commented Jun 2, 2020

I download linux_amd64, then use Dockerfile build a image,then run it,I can normally push stream,but when I use vlc to receive stream, it always auto disconnected。But I can use windows_amd64 and powershell normally。May there will be a docker image?
image

@aler9
Copy link
Member

aler9 commented Jun 15, 2020

Hi, the Docker image is coming, but i suggest to launch your docker container with the --network=host command and try again.
I tried many times to use the port mapping feature of Docker, but the problem is that Docker sometimes changes the source port of UDP packets. So, you can either:

  • disable UDP and launch the docker container with -p 8554:8554 -p 8000:8000/udp -p 8001:8001/udp
  • launch the docker container with --network=host

@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
None yet
Projects
None yet
Development

No branches or pull requests

2 participants