Using OBS to publish to Dolby.io Real-time Streaming
OBS is a free open source software created for broadcasting and recording on your desktop. You can take advantage of this tech to stream HD quality video to your viewers in realtime using the Dolby.io Real-time Streaming service.
At the moment, in order to use OBS with WebRTC you must use a modified version that has been extended to interface with the Dolby.io Real-time Streaming servers. You can download the latest version from our repository HERE.
WebRTC with OBS
To begin, first download and install the OBS-WebRTC client to your PC or Mac.
Then go to the OBS settings panel and click to open it.
From the "Controls" menu click on the Settings button which will open the Settings panel. From here, click on the "Stream" option. Then from the "Stream Type" dropdown, select "Millicast WebRTC Streaming Platform".
You must fill out the form with the Broadcast Info provided from the Publish Token you created.
To access this information, go to the Publish Tokens list in the Live Broadcast section of the Dolby.io dashboard.
Each token item has a quick action menu that gives you options for easy access.
To learn about the action menu in detail see Using the Quick Action Menu in the How to Broadcast page.
Open the management view by clicking the settings button from the items quick action menu. This will open the settings panel, within this panel click on the API tab.
Copy the Stream Name, and the Publishing Token and add it to the corresponding fields on OBS.
The Video Codec dropdown is optional, but we recommend h264 so you can reach browsers that do not yet support VP8 or VP9.
Click "OK" to accept the change, check your mic and camera, then start your broadcast.
To view and/or share your live broadcast, simply go to the same Manage Token panel and copy the "Hosted Player Path" link. You can share this path, or paste it in a browser to view your own stream.
RTMP with OBS
RTMP with OBS is already a standard feature in the original OBS studio version. You can download the client here: https://obsproject.com/download.
Using the RTMP feature may add some additional latency to the output.
Once you have downloaded OBS Studio you can get the required RTMP paths from the Dolby.io dashboard. To learn how to do this follow our RTMP with Dolby.io Real-time Streaming document.
Updated 2 days ago