Swift

Congratulations! 🎉

You've successfully set up a custom audio driver for the Vonage Video iOS SDK!

By implementing the AudioDeviceRingtone class, you have successfully decoupled the audio playback logic from the default Vonage audio driver. You now have a flexible architecture that allows your app to interrupt & resume the live stream to play local system sounds or custom audio files.

Additional Resources

Custom audio driver

Learn how to use a custom audio driver to customize publisher and subscriber stream audio. You will use the custom audio driver when you want to start and stop the audio, and play your own audio file. When you want to do "anything" with audio, other than the SDK default behavior of live video chat, you would use custom audio drivers.

Available on:
Swift
Steps
1
Introduction
2
Getting Started
3
Creating a New Project
4
Adding the Vonage Video SDK
5
Setting Up Authentication
6
Overview
7
Create the Custom Audio Driver Class
8
Implement the "Play Ringtone" Logic
9
Implement the "Stop Ringtone" Logic
10
Integrate with Vonage Video Manager
11
Control audio via Session Events
12
How It Works
13
Conclusion