The following walk-throughs step you through the process of creating various routes:
Creating a Route Using RTMP Input Example
RTMP is a TCP-based protocol that allows for low-latency communication while maintaining persistent connections between the player and the server – making it ideal for LIVE broadcasting/streaming (e.g., with the popular GoPro devices). Our RTMP Input Hublet has two modes: Consumer and Publisher. The Publisher mode will provide you with an ingest URL once the route is started. The same URL will be used every time the route is started.
To create a route using the RTMP Input Hublet:
Create a route and add an RTMP Input Hublet.
Change the Mode to Publisher .
You can use the random Stream Key, or specify one manually by unchecking the Generate a Stream Key checkbox and entering your key directly in the Stream Key field .
Click the Start Route button.
Once the route is running, copy the URL field and supply it to your streaming device's RTMP configuration (e.g., GoPro device).
Note
If you specified a stream key, you will need to copy and paste this separately .
Sending RTMP to Microsoft Stream Example
You can send RTMP directly to MS Stream from Haivision Hub using an RTMP Output Hublet paired with a Makito X or Makito X4. To do this, you will need to configure some additional parameters to provide Azure Media Services (AMS) the stream bitrates of each media type. The preferred way is to set the Makito X encoding parameters to meet the MS Stream Requirements and then append the audio and video data rates to the RTMP Output Hublet Server Ingest URL.
To configure an RTMP stream from HUB to MS Stream:
In Microsoft Stream, click the Create menu and select the Live Event option.
When prompted, enter the details for your event and click Save.
Under Encoder Setup, a pair of ingest URLs appears.
Click the Server Ingest URL Copy button. These settings are used to configure the Hublet (see Step 7).
On the Makito X encoder, configure the output RMTP streams, and make note of the video and audio bitrate to be used when configuring the RTMP Output Hublet on Haivision Hub (see Step 9). NOTE: These values must match the streaming arguments being sent to the Microsoft Stream RMTP server.
In Haivision Hub, create a new route.
Create an Input Hublet (an SRT Input Hublet is shown in this example).
Add an RTMP Output Hublet.
In the Server Ingest URL field for the RTMP Output Hublet, paste the Server Ingest URL you copied from Microsoft Stream.
Next, at the end of the pasted Server Ingest URL, replace the following {bolded text} with the values you made note of on the Makito using the following syntax:
While the Microsoft specification calls for “strict CBR encoding”, Makito X VBR is known to work (with or without traffic shaping), as does the Makito X4 CVBR setting.
While the Microsoft documentation on encoder settings recommends an upper limit of 720p30, Microsoft Stream has been confirmed to work with resolutions up to 1080p30 from a Makito X encoder. The important consideration is that the data rate values declared in the RTMP URL match the target data rates of the stream.