Connecting an RTMP Publisher Source
Media Gateway/SRT Gateway supports either publisher or consumer RTMP input streams:
- Publisher — Stream sent directly to the HMG/HSG's IP address
- Consumer — Stream available for HMG/HSG to access on an RTMP server
There are a few requirements when connecting Media Gateway/SRT Gateway as an RTMP publisher. Therefore, the procedure for creating an RTMP route as publisher is shown below:
On your source streaming device, output an RTMP stream with the following URL format:
rtmp://<IP>:1935/live/<stream_name>
where,<IP>
is the IP address of the Media Gateway/SRT Gateway and<stream_name>
is the desired name of the stream.Note
For RTMP Publisher mode, the port must be 1935 and the Application Name must be 'live'. Currently, neither of these options is configurable.
- On the Media Gateway/SRT Gateway, create a new route. See Creating a Route for more details. In the New Route screen:
- Populate desired route and source names.
- In Protocol, select RTMP.
- Under the RTMP Settings section for Mode, click Publisher.
- In Stream name, enter the stream name as defined in step 1.
- Click the Add Destination button and enter the desired output streaming parameters to send a UDP, SRT, RTP, or HLS stream to your destination device.
- On the Media Gateway/SRT Gateway, start the stream. See Starting, Stopping, and Deleting a Route for details.
In the Route List screen, the status indicators notify you if there are any issues receiving the incoming RTMP stream. See Route List Screen for a description of the status indicators.
Related Topics