TheWidlarzGroup / react-native-video

A <Video /> component for react-native
https://docs.thewidlarzgroup.com/react-native-video/
MIT License
7.22k stars 2.9k forks source link

[BUG]: `onAudioBecomingNoisy` not called on iOS #4295

Open Jadeon-FPM opened 16 hours ago

Jadeon-FPM commented 16 hours ago

Version

6.8.0

What platforms are you having the problem on?

iOS

System Version

17.5

On what device are you experiencing the issue?

Real device

Architecture

Old architecture

What happened?

The onAudioBecomingNoisy event isn't being called on iOS. The video pauses automatically when headphones are disconnected, but the app isn't notified. The event should be called and I should be able to customize if the video is paused automatically in this case. It has no issue on Android.

I've tested this to be the case with 6.8.0 and 6.4.3. The release version of our app is using 5.2.1 and doesn't have the issue.

Reproduction Link

No response

Reproduction

Step to reproduce this bug are:

github-actions[bot] commented 16 hours ago

Thank you for your bug report. We will review it and get back to you if we need more information.