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

Unable to run this server inside docker container. #38

Open
hnguyen48206 opened this issue Jan 31, 2023 · 3 comments
Open

Unable to run this server inside docker container. #38

hnguyen48206 opened this issue Jan 31, 2023 · 3 comments

Comments

@hnguyen48206
Copy link

hnguyen48206 commented Jan 31, 2023

Hi,

I have tried to used this project by deploying it inside a docker-container but so far, it simply does not work (what I'm doing here is forwarding the stream from ffmmpeg to the producer port). What has happened is that the client from outside (vlc in this case) seems to be able to connect to the consumer exposed port but then fails to get any data and closes soon after. This is not the case if I run the server normally without docker which is kinda not understandable.

Any help would be much appriciated.

@chriswiggins
Copy link
Owner

Hi @hnguyen48206 - I haven't updated this module in a long time, but are you able to provide your Dockerfile and your run command and I can try and help point you in the right direction?

@chriswiggins
Copy link
Owner

Actually hold that thought - the reason this won't be working if you're using the docker -p option, is that this requires UDP directly too. UDP won't port forward into your container unless you set that up properly too, which I think you can - have a look at the docker docs and change your RTP port range to match what you forward into the container

@hnguyen48206
Copy link
Author

Thank you so much sir for your timely reply. I'll give it another shot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants