developer
interactivity
Set up a Live Stream with Dolby.io and Amazon IVS
Fabien Lavocat

Amazon Interactive Video Service (IVS) is an AWS service that allows you to create an HTTP Live Stream (HLS) from an RTMP stream. Make sure to read about the additional pricing for this AWS service. In this article I will show you how to use Amazon IVS to publish your Dolby.io conferences to the world.

Search AWS Console for IVS

Login into your AWS management console, search for IVS and create a new channel. Select the region in which you want to deploy the IVS service. As a best practice, select the region that is the closest to where the conference is going to be created.

Create a Standard channel for ultra-low latency
  • Provide a name for this channel.
  • Select Custom configuration.
  • Select the Standard channel type, as our mixer is generating a 1080p resolution stream.
  • Select the Video latency that fits your use case.
  • Click Create channel at the bottom of the page.

Within a few seconds, the channel is set up and ready to receive your conference stream.

Stream configuration – server and key

In the Stream configuration, copy the Ingest server as well as the Stream key.

During your conference, you will need to make a REST API call to the Dolby API using the URL of the RTMP endpoint:

POST /v1/api/conferences/mix/{conference_id}/live/start HTTP/1.1
Host: session.voxeet.com
Authorization: Basic base64(CONSUMER_KEY + ":" + CONSUMER_SECRET)
Content-Type: application/json

{
    "uri": "rtmps://123456789012.global-contribute.live-video.net:443/app/{stream_key}"
}

A few seconds after calling the API, you will be able to see the live stream starting on the preview player.

Playback configuration and URL

In the Playback configuration section, get the Playback URL and provide it to your end user for them to watch the live stream.

If you need to stop the live stream before the conference ends, call the following API:

POST /v1/api/conferences/mix/{conference_id}/live/stop HTTP/1.1
Host: session.voxeet.com
Authorization: Basic base64(CONSUMER_KEY + ":" + CONSUMER_SECRET)
Content-Type: application/json

Learn More

Tags: aws, rtmp
RELATED POSTS
DEVELOPER
MEDIA
How to Add Quality Assurance to Educational Video Production with Next.js

In this tutorial, learn how to automate this quality assurance process with Dolby.io and Next.js.

Daniel Latimer
|
nextjs
react
DEVELOPER
INTERACTIVITY
Set up a Live Stream with Dolby.io and Twitch

Use RTMP to set up a live stream with Dolby.io and Twitch.

Fabien Lavocat
|
rtmp
DEVELOPER
MEDIA
Generating Pre-Signed URLs for Azure Cloud Storage with Python

A getting started guide for integrating Azure cloud storage with Dolby.io’s media processing suite in Python through pre-signed URLs and shared access signatures.

Braden Riggs
|
azure
We're happy to chat about our APIs, SDKs...or magic.