Autoscale Mixer Node Configuration
1 - Download the Red5 Pro Mixer server distribution. This distribution includes the required libraries and mixer
webapp, and can not be used for other node types.
2 - Install Red5 Pro server dependencies and service per this document.
3 - Install the following CEF Mixer dependencies on the instance (note: you may need to run the following commands as sudo):
sudo apt-get install -y build-essential autoconf automake \
gdb git libffi-dev zlib1g-dev libssl-dev pkg-config \
cmake maven libgtk2.0-dev libgtkglext1-dev \
libgtkglext1 python-dev python-numpy libtbb2 libtbb-dev \
libjpeg-dev libpng-dev libtiff-dev libdc1394-22-dev \
libxkbcommon-dev libxkbcommon-x11-0 libgbm-dev
sudo apt-get install libatk-bridge2.0-0
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-4.9
sudo apt-get upgrade libstdc++6
4 - Unzip red5pro-mixer-server-{version}.zip
, and move red5pro
and CefRenderer
to the /usr/local/
directory of your mixer node.
sudo mv red5pro /usr/local/red5pro
sudo mv CefRenderer /usr/local/CefRenderer
5 - Add your LICENSE.KEY
file in the /usr/local/red5pro
directory.
6 - Configure the password/digest for the Mixer (this must match the stream manager access token)
Edit the /usr/local/red5pro/webapps/mixer/WEB-INF/red5-web.xml
file, setting the web.handler
password value to that of the Stream Manager Access Token.
<bean id="web.handler" class="com.red5pro.cef.Application">
<property name="password" value="sm-access-token" />
</bean>
7 - Restart the Red5 Pro and CefRenderer services:
sudo systemctl restart red5pro.service
8 - Verify the mixer is running by opening the page: http://server-ip:5080/mixer/controller.html
. If testing compositions with this page, make sure the digest/password is set to the stream manager access token.