Open pimboli opened 1 year ago
Same issue here Any solution for this particular issue?
Are you guys created the container with --net=host ? since UDP streaming requires the container to access the host network directly.
Dear @okejadi Has it worked for you that way as you mentioned? Because I have tried it and I can't get it to receive traffic to port 8080 which it opens by default.
@wcontreras @pimboli What @okejadi suggested is true and is working. You have to start the container with the --network host
option. You will might get a waring like WARNING: Published ports are discarded when using host network mode
but this can be ignored.
Restreamer will bind the ports 8080, 8181, 1935, 1936, and 6000. On port 8080 you have the UI. Make sure that Restreamer is actually running with docker ps
.
After that connect to Restreamer as you would usually do and setup the UDP publication service.
Dear @ioppermann Thanks for your answer.
I share with you what I have in my configuration since I have done what they told me but I cannot enter the system through port 8080
I have done a clean implementation but I can't get it to work.
What I can be doing wrong?
Note: When I remove the network_mode
and add the ports it works correctly, but UDP does not work
Thank you so much.
It was windows docker conflicting with network_mode: 'host'
.
I was able to get it running on Linux without any problem as you mentioned @ioppermann
Thank you very much.
Subject of the issue I am using restreamer with the udp plugin, problem is that I can't see the output stream in my local network. (239.0.0.100:8004) this is the IP:port to which restreamer udp send to. I also tried define under advanced a localddr (the ip of the dockers hosts ip) but without success. I feel like docker is maybe not correct configured. Do I need to config something in docker to allow udp traffic to be sent?
Your environment Ubuntu 20.04 with docker
`docker0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.10.0.1 netmask 255.255.0.0 broadcast 10.10.255.255 inet6 fe80::42:fbff:fe6e:fff0 prefixlen 64 scopeid 0x20 ether 02:42:fb:6e:ff:f0 txqueuelen 0 (Ethernet) RX packets 281279 bytes 262974210 (262.9 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 177513 bytes 455337070 (455.3 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.0.128 netmask 255.255.255.0 broadcast 192.168.0.255 inet6 fd50:bcec:d497::b30 prefixlen 128 scopeid 0x0
inet6 fd82:8ebe:6717:2cb8:7e83:34ff:feb9:dd64 prefixlen 64 scopeid 0x0
inet6 fd50:bcec:d497:0:7e83:34ff:feb9:dd64 prefixlen 64 scopeid 0x0
inet6 fe80::7e83:34ff:feb9:dd64 prefixlen 64 scopeid 0x20
ether 7c:83:34:b9:dd:64 txqueuelen 1000 (Ethernet)
RX packets 903134770 bytes 1291879800833 (1.2 TB)
RX errors 0 dropped 170131 overruns 0 frame 0
TX packets 790632711 bytes 974473482519 (974.4 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0`