Skip to main content
Version: 8.5.0

Getting started with Millicast on Web

Dolby Millicast delivers broadcast quality live streaming at sub-second latency, enabling interactivity and fan engagement. Using the THEOplayer Millicast integration, you can play your Millicast streams directly through THEOplayer.

Usage

  1. Follow our Getting Started guide to set up THEOplayer in your web app or website. The Millicast integration is available in the main theoplayer package on npm.
  2. Add a Millicast source to your player's source.

Add a Millicast source

After setting up your THEOplayer on your web page, set its source to a SourceDescription containing a MillicastSource. You'll need a Millicast account ID and stream name to identify your Millicast stream:

const player = new THEOplayer.Player(element, configuration);
player.source = {
sources: {
type: 'millicast',
streamName: 'multiview',
streamAccountId: 'k9Mwad',
},
};

Add configuration

Optionally, you can provide additional configuration to the source, specific for working with Millicast streams. To configure these settings, add a connectOptions property to the source object and specify the options.

In the example below, the configuration is used to disable any audio from the Millicast stream. For an exhaustive list of these options, visit the documentation.

player.source = {
sources: {
type: 'millicast',
...,
connectOptions: {
disableAudio: true,
...
}
},
};

More information