How to Setup an In-Game Video Stream
Overview
This guide starts with the template project and ends with having a running video feed in-game.
You could use this for playing an in-world video, screen sharing, webcam feed, etc.
The simplest way to achieve this is using our Millicast integration. Millicast is a 3rd party developer platform (acquired by Dolby) that provides ultra-low-latency video streaming capabilities that scale to massive audiences.
For more information, see the reference page on Millicast video streaming
Steps
Open your Unreal project

Drag the 3 required Millicast assets into your level

You can find the following via the Place Actors panel: (NOTE - Be careful not to place the
M2_prefixed equivalents of the Screen or Control assets)
BP_MillicastScreenthis is the actual screen displaying the video feed
you can have as many of these as you want
BPM_MillicastControlthis is used to configure your Millicast stream information
you only need one of these
M2 Millicast Channelthis is used as plumbing between the stream video/audio received from Millicast and the audio bus & video texture used in the client
you would add extra channels if you wanted different video stream feeds playing at the same time
Name your
BP_MillicastScreenasset(s) Select your screen asset(s) in the World Outliner and, in the Details panel, give each a uniqueReceiver Name\
Select your MillicastChannel asset(s) and, in the Details panel, select a unique
Video Texture+Sound Source Buspair for each channel For example, your first channel should be set to have\
If you were to add a second channel, you should use
T_Millicast2andASB_M2_Millicast_02for theVideo TextureandSound Source Busrespectively \Retrieve Millicast stream name and account ID to use If you don’t have an account, you can quickly sign up for free (at the time of writing)
Go to
Sign InCreate an account using OAuth credentials (and click through the account creation dialogue)
Click on the default stream that is created for you\

Identify your stream name and account ID, e.g.
myStreamNameandreQfTXrespectively below
Add your Millicast stream name and account ID for your Millicast control Select your control asset in the World Outliner and, in the Details panel, configure these settings, e.g.

Give your the required in-game role to be able to change Millicast settings\

In the World Settings panel:
search for “roles”
expand the
Default Rolesettingset the
Row NametoDirector\
Start a stream from your Millicast (Dolby streaming) account In practice, you might want to follow this guide to stream from OBS Initially, the easiest way to stream is via the web UI which uses a webcam feed\
From the
Dashboard page:Click on the BROADCAST button\
\Open the Media Settings via the cog icon in the bottom-right of the stream
\Toggle the codec to VP8 or VP9
NOTE - If it's already set to VP8 or VP9 by default, change it once to the other one - this is to work around a known bug in Dolby's system

Click Update\
Click the Start button
\
Click the Play button in the unreal editor\
Once in-game, open the Millicast Control panel
To do this, right-click to bring up your cursor, then left-click the Millicast Remote Control icon\

In the Millicast Control panel, ensure the
EnabledandReceiversboxes are ticked, then clickApply
Your Millicast screen should now display the feed from your stream\

For more information, see the reference page on Millicast video streaming
For desktop streaming, you can follow this guide to stream to Millicast from OBS
Last updated
Was this helpful?

