Audio Session in iOS: How to Synchronize Audio Streams
summary
An overview of iOS AVAudioSession and practical pitfalls when managing audio in a large app. It examines how the VKontakte mobile app handles many audio I/O use cases (music, podcasts, video, live streams, stories, cover performances, calls, voice messages) and describes the new client synchronization mechanism developed to coordinate these audio streams as the feature set grew.
AI-written summary · about
chapters (15)
- 0:00Audio session intro
- 2:15Audio session basics
- 6:12Handling interruptions
- 9:55Remote command center
- 11:00Media service recovery
- 12:04Headphone route changes
- 13:53Multi-route audio category
- 14:35Navigation app sync
- 17:47Video and audio sync
- 20:19Audio stream sync
- 22:56Nested audio stack
- 24:18External app sync
- 28:37WebKit audio issues
- 31:12Key takeaways
- 32:15Q&A
