Replies: 1 comment 1 reply
-
I added the extra two lines to my config and now it works:
However the stream is extremely laggy and constantly drops frames, even after experimenting with the encoding settings |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question
So I'm running mediamtx in a docker container. I've opened ports 8889/tcp and 8189/udp on my firewall and they pass a connection test
When I run mediamtx and try to publish to http://server-ip:8889/stream/whip I got the following error:
I looked around and found the following: https://github.com/bluenviron/mediamtx#connectivity-issues
So I created a mediamtx.yml file and added the line:
webrtcAdditionalHosts: [_server-ip_]
However now when I run the container and pass the file in and try and publish to the server I get this error:
I looked around in the documentation, issues and discussion page again but couldn't find anything
Is anyone able to lend me a hand here?
Docker command I'm running is:
docker run --rm -it --network=host -v $PWD/mediamtx.yml:/mediamtx.yml bluenviron/mediamtx:latest
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions