Audio gets muted on iOS after iPhone gets called and the call is canceld.
I have included the video player correctly. It works without problems on Android and iOS. As soon as I get a call on the iPhone, the video player goes silent. This behavior only occurs on iOS. After that, my app starts to hang (After app restart it crashes(i have no error logs)).
Minimal project and steps to reproduce
To reproduce you can use a basic example.
- Start the app
- Play the video
- Call the iPhone from another phone, the iPhone should be not muted.
- Cancel the call.
What is the current bug behavior?
The Audio of the Player is muted.
What is the expected correct behavior?
The Sound should be played again. And my App should continue working. Or at least throw an Exception but none of it happens.
I tried to catch the AudioDevice Event, but without success. I get there when the Video plays, but not when the call is incoming or being canceld.
- iPhone 12 mini with iOS 14.7.1
- Xamarin.Forms 22.214.171.1243
- LibVlcSharp 3.6.0
- VideoLAN.LibVlcSharp.iOS 3.3.10