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 Millicast service.
At the moment, in order to use OBS with WebRTC you must use a modified version that has been extended to interface with Millicast's servers. You can download the latest version from our repository HERE.
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 Stream Token you created.
To access this information, go to the Stream Tokens list in the Live Broadcast section of the Millicast 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 Manage Token button from the items quick action menu. This will open the settings panel, within this panel find the "Publishing API Info" section.
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.
This video shows the workflow explained in this technical article to use OBS Studio with WebRTC to stream to Millicast to deliver a real-time stream at scale, worldwide, in under 500 ms.
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 Millicast dashboard. To learn how to do this follow our RTMP with Millicast document.
Updated about 2 months ago