Swift
Congratulations! 🎉
If you joined a session, subscribed to a remote stream, and saw the stats overlay update in real time, client observability is working in your iOS app.
What You Demonstrated
- Publisher:
settings.senderStatsTrack = truefor sender-side statistics - Subscriber:
OTSubscriberKitNetworkStatsDelegatefor periodic video/media link stats andnetworkConditionChangedevents - App layer: Merged callbacks on the main queue into a SwiftUI overlay
Next Steps
- Show user-facing connection hints when
networkDegradationSourceor packet loss crosses thresholds - Explore publisher-side
OTPublisherKitNetworkStatsDelegateand audio stats in the iOS observability guide
Additional Resources
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