apiko-dev / amazon-ivs-react-native-broadcast

A React Native wrapper for the Amazon IVS iOS and Android broadcast SDKs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incoming phone call breaks audio

chrisedington opened this issue · comments

Hi @AndrewShapovalov,

I was doing a stream on iPhone and a phone call came in, I dismissed the phone call via an Apple Watch. I'm not sure if dismissing it via a Apple Watch makes a difference, but worth mentioning.

The video continued as it should, but the audio broke and didn't come back after dismissing the call.

Do you think this is a code related thing or a lib thing?

Hi @chrisedington!

Have you noticed any events coming from onAudioSessionInterrupted and onAudioSessionResumed handlers? You can also try to play around AudioSessionStrategy prop and change its default value playAndRecord to recordOnly value. It might solve the problem but there is a known issue with AirPods.

Hi @chrisedington! Hope you're well.

Hi @chrisedington!

Have you noticed any events coming from onAudioSessionInterrupted and onAudioSessionResumed handlers? You can also try to play around AudioSessionStrategy prop and change its default value playAndRecord to recordOnly value. It might solve the problem but there is a known issue with AirPods.

Have you had a chance to take a look at it?