twilio / twilio-video-ios

Programmable Video SDK by Twilio
http://twilio.com/video
Other
64 stars 22 forks source link

Preventing system audio interruption #257

Open gajddo00 opened 1 year ago

gajddo00 commented 1 year ago

Description

The system audio stops playback when Twillio's audio session and connection is established. The only suggested fix I found is to set AVCaptureSession's property automaticallyConfiguresApplicationAudioSession to false as stated here but since I don't have access to the capture session, I'm wondering if there's something else that can be done to support this scenario?

Steps to Reproduce

  1. Play background audio (eg. Spotify, Apple Music ... ) while connecting to a room.

Video iOS SDK

pod 'TwilioVideo', '~> 5.5.0'

Xcode

14.2

iOS Version

16.4

iOS Device

iPhone 13