Mixer Deployment Overview
Red5 Pro Mixer Solution Requirements
The current mixer implementation uses CEF to push a targeted HTTP/S page to an origin or transcoder node. The solution requires a management system for creating a webpage that contains your live streams. For testing only, we have built a node.js mock back end that can be used with the grid manager example.
Testing with the Mock Back End
If you want to use mixer nodes in your autoscale cluster, that will involve a few additional steps beyond the standard autoscale setup. The CEF (Chrome Extension Framework) mixer requires the following additional components:
- A mixer server back-end (a node.js mock back end has been provided for testing)
- Special configuration of the Non-mixer node images
- A custom mixer node image with
mixerwebapp and CEF libraries
The Red5 Pro mixer testbed examples use the
live webapp on the non-mixer nodes, which is used for publishing all live streams (including composite ones), and a Node.js server that helps with the management of compositions. The
live webapp has been extended to call a configurable webhook endpoint every time a stream is published or unpublished. The webhook endpoint targets the backend webhook server to manage an active streams list. This streams list is provided to a grid moderator through a WebSocket connection between the Node.js server and the mixer testbeds used by the moderator. In this way, the moderator can see which streams are live and add any of those to a composition.
The basic flow of communication in an autoscale cluster which includes the mixer node type: