Getting started with Millicast
Dolby.io Real-time Streaming APIs make it easier to globally stream your high-value content with broadcast-quality color and sound to massive audiences all with sub 500ms latency. Use this tutorial to quickly set up and run your own private stream and begin building applications for a variety of use cases such as remote production, sports, gaming & betting, live events, etc.
If you haven't already, please create a Dolby.io account so that you can access the Streaming Dashboard.
For an introduction to the platform overall, start with the Introduction to Streaming APIs.
Part 1: Use the Streaming Dashboard
Begin by broadcasting directly using the Dolby.io Streaming Dashboard.
- Create a Publish token
- Broadcast a stream with the Streaming Dashboard
- Playback the stream using the hosted Viewer App
➡️ Start with Part 1
This part explains how to get started using just the Dolby.io Streaming Dashboard to both broadcast and playback a real-time stream without writing any code.
Part 2: Create a Streaming Web Application
After completing Part 1, you can now progress onto Part 2, building a custom web application using the Streaming Web SDK to playback and view a stream or start a new broadcast.
- Create a web application to playback a stream
- Create a web application to broadcast a stream
➡️ Jump to Part 2
In Part 1 we reviewed how-to log into your Dolby.io Streaming Dashboard, create a publish token, start a broadcast, and playback that broadcast in the hosted web viewer or in an iframe, all without writing any code. We'll continue getting started by substituting the broadcast and playback components with a custom-built web application.
Part 3: Automating Workflows Using REST APIs
After learning how to stream with the dashboard or by building a web application in parts 1 and 2, you can move on to building your production workflows. Using the REST APIs you can automate creating and managing tokens.
- Get an API Token
- Call the
/api/publish_token
REST endpoint to create tokens
➡️ Jump to Part 3
The Dolby.io Streaming REST API allows remote management of your Dolby.io Real-time Streaming account. To enable remote access you must first use the Token system to securely authenticate your applications with Dolby.io Real-time Streaming. To acquire an API Token, log into your Dolby.io Real-time Streaming account and follow the directions here: acquiring your API token.
Part 4: Create Mobile Streaming Apps
To reach larger audiences you may want to consider integrating streaming into your mobile applications.
- Create Native iOS (Swift) and/or Android (Kotlin)
- Create Native Builds for other devices (C++)
➡️ Jump to Part 4
Dolby Millicast provides Native SDKs for both Android and iOS to speed up development of mobile applications with real-time streaming. Follow the guides below to add playback or broadcasting capabilities for your target platforms.