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]: When a user is in a call and plays a video, the audio output is switched to the SPEAKER, and the audio mode is changed to MODE_NORMAL #4344

Open
Zhangxy6277 opened this issue Dec 18, 2024 · 2 comments
Labels

Comments

@Zhangxy6277
Copy link

Zhangxy6277 commented Dec 18, 2024

Version

6.6.3

What platforms are you having the problem on?

Android

System Version

15

On what device are you experiencing the issue?

Real device

Architecture

Old architecture

What happened?

A bug happened!

Reproduction Link

repository link

Reproduction

On Android, we've observed that when a user is in a call and plays a video, the audio output is switched to the SPEAKER, and the audio mode is changed to MODE_NORMAL. And after playing a video and then starting a call, there is still a problem with audio output and audio mode.

How to resolve

I found this PR introduced a change #3211 . In this change, the changeAudioOutput function was added during the initialization of the player core on Android. This function call forces the audio mode and audio output to change whenever a video is played, causing issues in calls.
We need to make this initialization process optional in the react-native-video library.

Copy link

github-actions bot commented Dec 18, 2024

Previous bot comment (click to expand)

Thank you for your issue report. Please note that the following information is missing or incomplete:

  • what happened?
  • reproduction link

Please update your issue with this information to help us address it more effectively.

Note: issues without complete information have a lower priority

There is a newer version of the library available. You are using version 6.6.3, while the latest stable version is 6.8.2. Please update to the latest version and check if the issue still exists.

Note: If the issue still exists, please update the issue report with the latest information.

Copy link

Thank you for your issue report. Please note that the following information is missing or incomplete:

  • what happened?
  • reproduction link

Please update your issue with this information to help us address it more effectively.

Note: issues without complete information have a lower priority

There is a newer version of the library available. You are using version 6.6.3, while the latest stable version is 6.8.2. Please update to the latest version and check if the issue still exists.

Note: If the issue still exists, please update the issue report with the latest information.

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

No branches or pull requests

1 participant