Using RTMP protocol
RTMP (Real Time Messaging Protocol) is a proprietary streaming protocol based on TCP. The use of TCP as a transport ensures reliability of data delivery, while transmitting multimedia data as variable-length fragments (chunks) allows for low latency.
Due to these features, RTMP is widely used to deliver live video to UGC platforms. In fact, it is the industry standard. RTMP support allows you to use Flussonic with almost any video editing equipment and open-source solutions.
We also support RTMPS which is secured RTMP with encryption based on TLS/SSL.
RTMP implementation in Flussonic
Setting up the reception and transmission of streams via RTMP in Flussonic is performed in standard ways. There are some special aspects regarding the URL of the stream when you use the RTMP protocol. Below is the general information about the URL, and on the next pages in the section you will find configuration examples and URL examples.
Also, you have to set ports in order to use RTMP or RTMPS in Flussonic.
- RTMP playback.
- RTMP ingest.
- Accepting RTMP publications. See The Publication from OBS Studio to Flussonic Media Server for examples of configuration.
- RTMP push. You can set it up in a standard way considering the URL peculiarities described below. See Publication in social networks for examples of configuration.
Special aspects of URL for RTMP
The RTMP protocol does not support proper stream URLs. When connecting to a server using RTMP, the client must specify both the server name and the application name, and then specify the name of the stream to be played or published to.
Usually, the shortened version is used where the application name and the stream name are concatenated.
For example, the pair
tmp is turned into
The standard practice when interpreting the RTMP pseudo-URL
rtmp://rtmp.example.com/chats/tmp is to truncate the path after the server name at the first slash symbol and use the first part of the string as the application name.
Flussonic Media Server or any other protocol have no application concept, so you can see only URLs in Flussonic. The rules applied for transformation of the URL to application name and stream name are described in the corresponding sections.
RTMP and RTMPS ports setup
You can specify RTMP and RTMPS ports in the Listeners section on the Config -> Settings tab.
Make sure to issue an SSL certificate if you plan to use RTMPS.