Chat with us, powered by LiveChat
Haivision KB and Microsoft Azure

KB Series Now Certified Encoder for Streaming to Microsoft Azure Media Services

In my role as Manager of Global Alliances & Partnerships at Haivision, it often falls to me to get to make the fun announcements. And this time I’m incredibly excited to announce that the Haivision KB Encoder Series is now Azure Certified for live streaming capabilities to Microsoft Azure Media Services (AMS). That’s great news for everyone who streams live events to global internet audiences!

Here’s what that means for everyone from those managing video in enterprise situations, to broadcasters and video production companies.

With AMS, streaming broadcasts can leverage the dynamic scalability, reliability, redundancy and minimum capital investment the cloud offers when streaming live to global audiences. Azure Media Services enables broadcast quality media workflows that are easy to set up, maintain and scale. Azure Media Services provides the reliability of a cloud platform backed by a global network of Microsoft operated data centers.

We know that many of you will be interested in the process of configuring your Haivision KB encoder when using AMS to reach your audiences, so the I’m making sure that you have quick access to that info below. The information below was first published by Microsoft here, and we also wanted to make sure that all of you would get a chance to see it, so here it is!

Read on to learn how to configure your KB encoder with Azure Media Services.

Use the Haivision KB live encoder to send a single bitrate live stream

This topic shows how to configure the Havision KB live encoder to send a single bitrate stream to AMS channels that are enabled for live encoding. For more information, see Working with Channels that are Enabled to Perform Live Encoding with Azure Media Services.

This tutorial shows how to manage Azure Media Services (AMS) with Azure Media Services Explorer (AMSE) tool. This tool only runs on Windows PC. If you are on Mac or Linux, use the Azure portal to create channels and programs.

Prerequisites

Tips

  • Whenever possible, use a hardwired internet connection
  • A good rule of thumb when determining bandwidth requirements is to double the streaming bitrates. While this is not a mandatory requirement, it helps mitigate the impact of network congestion
  • When using software-based encoders, close out any unnecessary programs

Create a channel

  1. In the AMSE tool, navigate to the Livetab, and right-click within the channel area. Select Create channel… from the menu. Haivision
  2. Specify a channel name, the description field is optional. Under Channel Settings, select Standardfor the Live Encoding option, with the Input Protocol set to RTMP. You can leave all other settings as is. Make sure the Start the new channel now is selected
  3. Click Create ChannelHaivision

Note:

The channel can take as long as 20 minutes to start.

Configure the Haivision KB encoder

In this tutorial, the following output settings are used. The rest of this section describes configuration steps in more detail.

Video:

Audio:

Configuration steps

  1. Log in to the Haivision KB user interface.
  2. Click on the Menu Button in the channel control center and select Add Channel
  3. Type the Channel Name in the Name field and click next.
    Step 3 KB configuration
  4. Select the Channel Input Source from the Input Source drop-down and click next.
  5. From the Encoder Template drop-down choose H264-720-AAC-192 and click next.
  6. From the Select New Output drop-down choose RTMP and click next.
  7. From the Channel Output window, populate the Azure stream information. Paste the RTMP link from the initial channel setup in the Server In the Output Name area type in the name of the channel. In the Stream Name Template area, use the template RTMPStreamName_%video_bitrate% to name the stream.
  8. Click next and then click Done.
  9. Click the Play Button to start the encoder channel.

Test playback

Navigate to the AMSE tool, and right-click the channel to be tested. From the menu, hover over Playback the Preview and select with Azure Media Player.

If the stream appears in the player, then the encoder has been properly configured to connect to AMS.

If an error is received, the channel needs to be reset and encoder settings adjusted. See the troubleshooting article for guidance.

Create a program

  1. Once channel playback is confirmed, create a program. Under the Live tab in the AMSE tool, right-click within the program area and select Create New Program. Haivision
  2. Name the program and, if needed, adjust the Archive Window Length (which defaults to four hours). You can also specify a storage location or leave as the default.
  3. Check the Start the Program now box.
  4. Click Create Program.
  5. Once the program is running, confirm playback by right-clicking the program and navigating to Play back the program(s) and then selecting with Azure Media Player.
  6. Once confirmed, right-click the program again and select Copy the Output URL to Clipboard (or retrieve this information from the Program information and settings option from the menu).

The stream is now ready to be embedded in a player, or distributed to an audience for live viewing.

 

Share this post