webserver issue

webserver issue

admin Staff asked 8 years ago
As I was doing some work this evening trying to get HLS streaming to work, I was digging through some log files and found that the built in web server was not able to connect to the EMS because it’s trying to connect on the local loopback IP address. I am binding all services to a specific IP address however, there is nowhere in the webconfig to specify the EMS IP address. This appears to be causing a huge problem and is stopping me from getting HLS working. Anyways, I was not able to find anywhere in the documentation to set the IP address for the EMS. Any help is appreciated.



3 Answers
xai Staff answered 8 years ago
What is your setup? Are we trying to run EMS and EWS in a machine having multiple IPs (ethernet cards)? Are we trying to run EMS and EWS on separate machines?
xai Staff answered 8 years ago
Yes you can use Apache. Note that if you will be using the web ui, you have to copy its entirety to the Apache web root folder.
There is no way to remove the autoHLS folder when using autoHLS.
toni answered 8 years ago
Yes, Evostream can run even if you are using Apache. Based on your response above, you are using HLS. If your document root is at “/var/www/hls.recoilnetworks.com/html”, make sure that the EMS can write the hls files on this directory. You mentioned: In order for this to work I either have to add the user I am using for evostream (evostreamms I believe) to the Apache group or run EvoStream as the Apache user. That is possible. For me, I just make sure that the directory is owned by apache. You also mentioned: is it possible to remove the “autoHLS” sub-directory when using the autoHLS feature? No, i do not think so. The “autoHLS” sub-directory is created by EMS and there is no setting in config.lua to change this. If you are bothered by this, try to use symlinks.

Offcanvas

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.