Answer for how to define secondary application in config.lua

Yes and no. You cannot have two different configurations on the same port. However, you can run multiple instances of the EMS on the same computer, each listening on different ports, as you suggest in your first post. We call this Virtual Hosting, and it allows you to run the EMS multiple times on a given computer while still using a single license. This is a bit outside the norm, and so the setup is a little bit involved. To do Virtual Hosting, it is usually simpler to start from the zip archive, as opposed to the Linux installer. Don’t worry if you have already used the installer, just make sure the EMS isnt running (sudo service evostreamms stop). Essentially you are just running multiple sandboxed copies of the EMS on the computer, each configured with different listening ports. You will need to make a copy of the config.lua file, and change the ports listed in the "acceptors" section. Some of the resources can be shared between instances of the EMS, like the media directories, authentication configs and log directories. But you may want those separate anyway. If you don’t need high volume for each of your Virtual Hosts (no more than a few thousand clients) then you can run each instance as a simple background process (./evostreamms myconfig.lua&). This will simplify each of your config files as you can remove the two “clustering” related acceptors (1113 and 1936 by default). Bryan

Offcanvas

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