-
Notifications
You must be signed in to change notification settings - Fork 275
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
WebRTC in Docker with no host network mode, Windows 10, WSL2 #419
Comments
Yes, needed for WebRTC as you've confirmed. |
It seems possible its not needed, but then you need to figure out how to expose all the ports needed by WebRTC -- not sure how tractable that is. |
@allenporter thanks for your reply. I think if we use Will do a research on it and post the result here :). |
try add to compose.yml ports like this: and add min max webRTC ports into config.json
example compose.yml:
example config.json:
|
This didn't work for me, did you manage to get it working? When I looked into the SDP header it returns
So its not even on the correct IP range... |
Is there any updates on this ,or is there a way to know all the ports used by WebRTC? |
If you are running your docker on windows then no it doesn't seem possible. I had to run mine thru docker via WSL. |
Try to restart container after change in confing.json. Even that, I recommend using mode type "host". |
I am using WSL2 instead of Windows. Is there a way to run WebRTC without type "host" and only exposing the necessary ports? |
Hi. Thanks for this great library!
I would like to run the docker as a container, enabling other containers to leverage the WebRTC protocol for accessing the video stream generated by this library..
I'm aware that the documentation recommends running the Docker with the host network mode.
I executed the Docker using the following docker-compose file:
When I open localhost:8083 on Windows, all streaming protocols runs successfully and shows video (HLS, HLSL, MSE), except WebRTC.
Is there any specific constraint for WebRTC in the Docker file that necessitates running it in host network mode?
My system
Thanks in advance :)
The text was updated successfully, but these errors were encountered: