Build a 1-on-1 Video Chat With SwiftUI and Dolby.io

Nick Parsons
The Startup
Published in
6 min readMay 28, 2020

--

Image — Courtesy of Dollar Gill via Unsplash

In this tutorial, we’ll integrate video chat into an iOS application. To do this, we integrate Dolby.io’s Interactivity APIs, formally known as Voxeet, into our application. Video chat can easily be integrated with Stream Chat for a seamless communication experience.

Note: the library is still named Voxeet.

For this part, the application will support 1-on-1 private chat. Since Dolby is a pure client-side library, we only configure our ios application. However, to facilitate the UI for indicating whether a user has a call waiting, we use a few endpoints in the backend.

Note: Because these are minor and largely stub implementations, we don’t go into them in this tutorial. Please refer to the source code on GitHub if you’re curious. Also, ensure the backend is running if following along with this tutorial.

The app performs these steps:

  • Initialize Voxeet libraries
  • When a user navigates to the “People” screen, show a video icon next to a user’s name.
  • When a user clicks this icon, start and join a Voxeet conference with a unique alias. The user waits for the other party to join. The application informs the backend of the new call.
  • When the other user enters following the previous…

--

--