Closed Barracuda09 closed 5 years ago
Hi @Barracuda09 ,
This problem is not fixed and it continues. I can't do futher tests until this is resolved, as the server collapses with a lot of child process. So testing is difficult with last commit.
I hope you can target it soon. Thank you!
Hi @lars18th
Do you have an example using wget to read from something. I can not seem to get a use case.
Do you have an example using wget to read from something. I can not seem to get a use case.
You can use the well-kown udproxy
or similar UDP-2-HTTP relay : https://github.com/pcherenkov/udpxy
So you can convert any multicast to HTTP... then you can receive the stream with exec=wget -qO- http://udpxy_ip:5056/udp/239.0.0.1:12345
.
Regards.
This should be fixed now.
exec=wget -qO- http://udpxy_ip:5056/udp/239.0.0.1:12345
should be something like this (I think):
exec=wget%20-qO-%20http:%2F%2Fudpxy_ip:5056%2Fudp%2F239.0.0.1:12345
Thank you @Barracuda09 ,
The issue is fixed with commit https://github.com/Barracuda09/SATPI/commit/6257b4b3e0b6f82f6b289129525a36f23fca992a
So, please close it. :wink:
Thanks, and as requested by @lars18th I will close this-one.
Hi @Barracuda09 ,
I found a SERIOUS bug with the childPIPE !!!
exec=wget -qO- ...
then multiple "wget" processes are created (check it withps -aex | grep wget
). In fact, for every new call a new process is created.Please, check to kill the subprocess every time you close the stream. Thank tou!
Originally posted by @lars18th in https://github.com/Barracuda09/SATPI/issues/69#issuecomment-550274249