/plushcap/analysis/agora/voice-calls-with-swiftui-and-agora

Voice Calls with SwiftUI and Agora

What's this blog post about?

In this tutorial, we will create a basic audio call application using Agora and SwiftUI. The main difference from the UIKit tutorial provided by Agora is that we need to work with UIViewControllerRepresentable in order to interface the UIKit-based UIViewController with SwiftUI. We will cover project setup, installation of Agora Voice SDK, initialization of AgoraRtcEngineKit, joining and leaving a channel, creating homepage and call view, connecting SwiftUI and UIKit, adding coordinator, muting input audio, and testing calls. The code used in this tutorial is available on Github.

Company
Agora

Date published
May 21, 2021

Author(s)
Khalea Berry

Word count
1747

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.