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

OpenSLES audio grabbing #100

Open
bic-user opened this issue Jun 27, 2013 · 1 comment
Open

OpenSLES audio grabbing #100

bic-user opened this issue Jun 27, 2013 · 1 comment

Comments

@bic-user
Copy link

How I should configure webrtc to use OpenSLES for audio grabbing? Is it actually supported?

@lukeweber
Copy link
Owner

Opensles previously has had spotty performance in my testing. On newer versions of android it's supposed to be better, but they basically broke the driver. I know csip uses opensles on android and have their own driver, which I assume doesn't suck and they switch between that and java method, depending on phone model and api version. I did make the partial improvements to have both loaded in code, to ideally switch between the two so I could do more testing, but only got as far as the define (WEBRTC_ANDROID_OPENSLES) that's used in here: https://github.com/lukeweber/webrtc-src-override/blob/master/modules/audio_device/audio_device_impl.cc, but you could extend this pretty easily to switch between one or the other depending on device or some other params.

The reverse of this would be how you enable the opensles driver on android. lukeweber/webrtc-src-override@a0b1421

https://code.google.com/p/webrtc/issues/detail?id=1119 was my previous issue when they fully broke it, but it's marked as wontfix, so it's hard to say when they'll get to 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