Replies: 7 comments 4 replies
-
|
Hello, No, I never see that. My only suspicious are the flags here: |
Beta Was this translation helpful? Give feedback.
-
|
One thing that you can try. Go here: Try init first internal audio and then microphone and check if the result is the same. |
Beta Was this translation helpful? Give feedback.
-
|
Also try with this branch: Using the microphone source MIC, VOICE_COMMUNICATION and VOICE_RECOGNITION. |
Beta Was this translation helpful? Give feedback.
-
|
@pedroSG94 |
Beta Was this translation helpful? Give feedback.
-
|
Hello, Are you using AccessibilityService? |
Beta Was this translation helpful? Give feedback.
-
|
Hello, Ok, this feels like a problem with the audio policy in certains OEMs. 1 - Connect your device that produce the problem to your PC Repeat using Glip app to compare with your app. |
Beta Was this translation helpful? Give feedback.
-
|
I don't have access to a similar device because this model isn't available in my region, so I can't reproduce the issue myself. I asked the user to livestream two games on the same device and save the debug logs:
Could you take a look at the attached logs and see if you notice anything unusual? |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hi @pedroSG94 ,
I'm facing a strange issue and would like to ask if you've ever seen something similar.
Environment
Problem
There are two scenarios:
Interestingly, this issue only happens with COD Mobile on this specific device.
I modified RootEncoder to add extensive debug logging.
The logs show that:
MediaProjectionis available.AudioPlaybackCaptureis enabled.AudioRecordinstances are successfully created.AudioRecord.startRecording()succeeds.AudioRecord.read()for internal audio always returns a valid size (8192).ERROR_BAD_VALUEorERROR_DEAD_OBJECTis returned.RECORDSTATE_RECORDING.However, the internal audio buffer is always silent:
internalRms = 0internalSilent = truewhile the microphone has valid audio data.
I also tried:
startRecording()order (Internal → Microphone).Unfortunately, the behavior is exactly the same.
Have you ever encountered a similar issue?
Do you know of any device-specific compatibility issues with
AudioPlaybackCaptureorAudioRecordthat could explain why another app (Glip) can capture both microphone and game audio, while RootEncoder always receives silent PCM for the internal audio?I've attached the debug log for reference.
Any suggestions or ideas would be greatly appreciated.
Thank you!
Infinix-X6878.log
Beta Was this translation helpful? Give feedback.
All reactions