Swift
Overview
Create a minimal Swift iOS project that will host the video UI and observability overlay. No Vonage-specific code yet—just the shell the rest of the tutorial builds on.
Creating a New Project
- Open Xcode and create a new project.
- Select App as the template.
- Set Language to Swift and choose SwiftUI for the interface.
- Set a minimum deployment target supported by the Vonage Video iOS SDK (follow the version listed in the SDK release notes).
When the wizard finishes, Xcode opens ContentView.swift and your app entry point. You will add the Vonage SDK, credentials, and observability code in the following steps.
Client Observability
Learn how to use client observability to monitor real-time quality metrics for a video call with Vonage Video SDK.
Steps
1
Introduction2
Getting Started3
Creating a New Project4
Adding the iOS SDK5
Setting Up Authentication6
Camera and Microphone Access7
Enable Sender Stats on the Publisher8
Subscribe and Register Observability Listeners9
Handle Video Stats10
Display Stats in the UI11
Running the App12
Conclusion