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

Android microphone doesn`t work #14750

Open
vinay11sight opened this issue May 16, 2024 · 5 comments
Open

Android microphone doesn`t work #14750

vinay11sight opened this issue May 16, 2024 · 5 comments

Comments

@vinay11sight
Copy link

vinay11sight commented May 16, 2024

I installed the Jitsi sample app from the Play Store in our car Android player, which has Android 10.

(https://play.google.com/store/apps/details?id=org.jitsi.meet&hl=en&gl=US)

Calling is going well, but there is a problem with the mic. The mic does not work.

I also built the jitsi SDK (https://github.com/jitsi/jitsi-meet/releases/tag/android-sdk-9.0.0) and created a demo app, but I am facing the same problem.

I want to change the recording mode to VOICE_CALL but unable to locate the MediaRecorder in the source code.

If you can check, please. thank you

@saghul
Copy link
Member

saghul commented May 16, 2024

I don't think our SDK works in a car view because it expects a different type of activity.

@vinay11sight
Copy link
Author

It functions effectively. Calls are proceeding well; the microphone isn't working, and I believe MediaRecorder mode is the source of the problem. If you could assist, I would like to switch the mode to VOICE_CALL.

@saghul
Copy link
Member

saghul commented May 16, 2024

When WebRTC creates a android.media.AudioRecord, it uses AudioSource.VOICE_COMMUNICATION as the source.

@vinay11sight
Copy link
Author

I tried to change Audio source but it takes VOICE_COMMUNICATION.
Could you please help? Here are the logs.
I note one thing in the logs : Audio source is changed by other app

05-20 16:32:10.457 1494 1494 I AudioManagerImp: Audio source package changed: Package = en.com.taudio.radiomanager
05-20 16:32:10.457 1918 1918 D ARAFA : onAudioFocusRequest usage: USAGE_MEDIA response: 1
05-20 16:32:10.457 1918 1918 D ARAFA : Activating the usageUSAGE_MEDIA
05-20 16:32:10.457 1918 1918 D ARAFA : >>>>>>>> Sending Audio of Interest as >>>>>>>>USAGE_MEDIA
05-20 16:32:10.458 6681 7810 D AudioManagerHMI: onAudioFocusPackageNameChanged: en.com.taudio.radiomanager
05-20 16:32:10.458 6880 6898 D AudioManagerHMI: onAudioFocusPackageNameChanged: en.com.taudio.radiomanager

20May.log

thank you so much for your support.

@saghul
Copy link
Member

saghul commented May 20, 2024

When are you changing it?

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

No branches or pull requests

2 participants