Swift
Getting Started
In this tutorial, you will be utilizing the iOS SDK, Vonage's client-side library for iOS devices, to quickly build a real-time interactive video application with a custom renderer.
Estimated completion time: 25 mins
Before you begin, ensure you have:
- A supported version of Xcode
- Vonage Video API credentials:
- Application ID (
kAppId) - Session ID (
kSessionId) - Token (
kToken)
- Application ID (
Note: To obtain your credentials, follow the Vonage Video Getting Started Guide.
Want to skip this tutorial? You can jump to the completed iOS Swift client code in the BasicVideoRenderer folder of our Swift sample app repo on GitHub. The repo includes a README with documentation for running and exploring the code.
Basic video rendering
Learn how to use a custom video renderer in Swift to display a black-and-white version of a video stream using the Vonage Video iOS SDK.
Steps
1
Introduction2
Getting Started3
Creating a New Project4
Adding the Vonage Video SDK5
Setting Up Authentication6
Understanding the Architecture7
Create the Custom Render View8
Create the Custom Video Renderer9
Integrating with Vonage Video Manager10
Create UIView to SwiftUI Wrapper11
Display in SwiftUI12
How It Works13
Conclusion