Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: onAudioBecomingNoisy not called on iOS #4295

Open
Jadeon-FPM opened this issue Nov 21, 2024 · 3 comments
Open

[BUG]: onAudioBecomingNoisy not called on iOS #4295

Jadeon-FPM opened this issue Nov 21, 2024 · 3 comments

Comments

@Jadeon-FPM
Copy link

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:

  • Create a <Video /> element with a onAudioBecomingNoisy callback
  • Play a video on iOS with headphones
  • Disconnect the headphones
  • The video will pause automatically but the callback won't be called
@Jadeon-FPM Jadeon-FPM added the bug label Nov 21, 2024
Copy link

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

@Jadeon-FPM
Copy link
Author

Any updates on this? I received an email that @freeboub commented on this issue, that the iOS implementation for this callback was lost, but the comment isn't showing any more.

@freeboub
Copy link
Collaborator

freeboub commented Dec 3, 2024

Any updates on this? I received an email that @freeboub commented on this issue, that the iOS implementation for this callback was lost, but the comment isn't showing any more.

Yes, I just did a mistake and remove my comment, sorry ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants