Dynamic Cloud Packaging: How to Stream a Live Event Tutorial

A live event can be streamed over the HTTP Large platform to media players that support either HLS or MPEG-DASH.

This service automatically transmuxRefers to the process of changing the multimedia container while retaining its content (i.e., audio/video).es H.264/AAC encoded live content into a HLS/MPEG-DASH-compatible package.

Perform all of the following tasks:

 

Task Description

1

Set up a live authentication key.

Define a global key.

2

Create an instance.

An instance defines a group of settings that will be used to publish a live event.

It may take up to an hour for a new instance to take effect.

3

Publish one or more streams.

Use an encoder to push encoded video to the location closest to the encoder.

4

Create and distribute a media player.

Point the media player to a HLS or MPEG-DASH playback URL that corresponds to the recently created instance.

Step 1: Set up a Live Authentication Key

Dynamic Cloud Packaging will only ingest authorized streams. This tutorial authorizes streams using a global keyThis type of live authentication key may be used to authenticate all live streams for Flash Media Streaming, HLS, or HDS. Only a single global key may be specified..

Navigate to the Live Authentication page. ClosedHow?From the main menu, navigate to HTTP Large | HTTP Streaming | Dynamic Cloud Packaging. Click Live Auth from the side navigation bar.

Set the Global Key option to the desired value.

Click Update.

Step 2: Create an Instance

A Dynamic Cloud Packaging instance is required to ingest and playback a live feed.

Navigate to the Dynamic Cloud Packaging - Live page. ClosedHow?From the main menu, navigate to HTTP Large | HTTP Streaming | Dynamic Cloud Packaging.

Click New Instance.

In the Instance Name option, type:

myinstance

Click Add to create an instance configuration.

Copy the instance's publishing point URL that corresponds to the location closest to the encoder.

Step 3: Publish a Stream

Use Adobe Flash Media Live Encoder 3.2 to push a live audio/video feed to the publishing URL associated with the Dynamic Cloud Packaging instance created in the previous step.

Configure video encoding settings by performing the following steps:

  1. Verify that the Video option is marked.
  2. Select the desired live source from the Device option.
  3. Select "H.264" from the Format option.

  4. Configure a single bit rate stream by performing the following steps:

    1. Mark the bit rate stream named "1."
    2. Select the video quality in Kbps.
    3. Define the output size of the window (width x height).

    The encoder's bit rate stream settings should look similar to the following illustration:

    Bit Rate Stream Options - Flash Media Live Encoder

Configure audio encoding settings by performing the following steps:

  1. Verify that the Audio option is marked.
  2. Select the desired live source from the Device option.
  3. Select "AAC" from the Format option.

Verify that the Stream to Flash Media Server option is marked.

Paste the previously copied URL into the FMS URL option.

Delete "/<streamName>?<Live Authentication Key>" from the value defined in the FMS URL option.

The FMS URL option should now look like:

In the Stream option, type:

mystream

In the Stream option, append a question mark and the previously defined global key.

mystream?myglobalkey

Click Connect to verify that a connection can be successfully established to the server.

Start the encoding process by clicking Start.

Step 4: Implement a Media Player

A live stream may be played back using either a HLS or MPEG-DASH player.

Implement one of the following players:

Upload the above web page to CDN storage or a customer origin server.

Test your live feed by loading the above web page.