This is a created article in which the information may have evolved or changed.
First, what is the Cloud Guide broadcasting station
Provides live streaming of rtmp or http-flv on multiple live streams during live stream switching. For example, when there are multiple live rtmp sources, the source dynamic, real-time selection, will be live out of it, display to the audience.
Second, what is Livego
Livego is a RTMP server developed based on Golang. Here a simple cloud guide is developed on the Livego framework.
Three, the realization of the Cloud Guide table function List
- The rtmp stream server actively pulls the multi-channel stream;
- Pull multi-channel live stream refers to: rtmp stream, http-flv stream;
- Through the HTTP election, the multiple streams pulled to the dynamic selection, the selected stream is pushed to the upstream;
IV. basic framework for cloud-guided broadcasting
Such as:
* HTTP Control module
The control client, by sending an HTTP command, triggers:
Multiple pull-stream operations: pull multiple different streams
Local pull-Flow module, select one of the modules after pulling, push to the far end;
* Pull-Flow module
Responsible for pulling the stream and pushing the stream to the local rtmp://127.0.0.1/xxx/xxxx
* Multi-Stream Selection module
According to the HTTP protocol command, select a local stream rtmp://127.0.0.1/xxx/xxx for local pull and push to the specified rtmp address upstream
V. Source address and Wiki address
Livego Source: Https://github.com/runner365/livego
Livego Cloud Guide wiki:https://github.com/runner365/livego/wiki/-Multi-stream cut-off broadcast