Tutorials · 3 min read

logs of Dolby.io and api.video

Live stream your Dolby.io conference call to thousands with api.video

Dolby.io has a live conferencing service that allows several people the ability to chat - but limits the number of viewers. Adding in RTMP streaming allows you to broadcast this live conference as a video stream -allowing for thousands of people to watch the conference. Learn how in this post.

Doug Sillars

September 23, 2021

With the growth of remote work and the need to communicate both audio and video with many people simultaneously, there have been a number of conferencing APIs and SDKs that have surfaced recently. One such API comes from Dolby.io. This API features real time video and audio (with all of the great audio processing you expect from a company like Dolby).

The conferencing works over WebRTC - which is great for immediate video sharing amongst a small group of attendees. For larger groups, it might be required to place those in 'non speaking' roles in a live stream. These attendees can listen in (or maybe participate by chat), but only the main participants will be on the conference call.

We've collaborated with Dolby.io to show how easy this can be done with api.video live streaming api. To showcase these features, we've launched dolbyio.a.video, a web application that starts a web conference, and adds live streaming.

The code

This app is based on a repo built at Dolby.io. The demo was expanded to a Node.JS app to obfuscate the api keys. An API token is generated on the server, and that value is then sent to the HTML page that controls the web conference.

screenshot of the app

To create a video conference, simply visit dolbyio.a.video. Enter a username, and click connect. You'll be connected to the Dolby system. You can then join your conference (you can pick any name for the conference). You'll enter the conference. Anyone else who visits the page and enters the same conference name will also join your conference.

Using the Conference

You can share your screen, play a video to the conference, and do all the other "web conference" actions you might expect.

api.video comes in on the RTMP url. You can have the RTMP streaming begin automatically when you join the conference, or you can manually initiate the stream. Streaming over RTMP is how you broadcast your conference to those in "listening" mode. If you initiate the stream in the demo application, you can watch the stream of your conference call.

When you share your screen - the presenter's image is placed in a bubble in the upper left:

conference call screenshot

Conclusion

In this post, we use api.video to extend the Dolby.io conferencing APIs to live stream with api.video. This allows the presenters of the conference to have a greater reach that would be available if they were just using the API - they can broadcast the conversation to thousands of viewers.

Try out more than 80 features for free

Access all the features for as long as you need.
No commitment or credit card required

Video API, simplified

Fully customizable API to manage everything video. From encoding to delivery, in minutes.

Built for Speed

The fastest video encoding platform. Serve your users globally with 140+ points of presence. 

Let end-users upload videos

Finally, an API that allows your end-users to upload videos and start live streams in a few clicks.

Affordable

Volume discounts and usage-based pricing to ensure you don’t exceed your budget.