Voice Calls with SwiftUI and Agora
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.