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

I have apply agora external audio api . but i get unwanted noice only. but my video streaming part working #240

Open
bandrarom opened this issue Dec 17, 2021 · 3 comments

Comments

@bandrarom
Copy link

i use uvc camera and streaming video . but thes sounds not catch from uvc camera . so i call "setExternalAudioSource()" and "pushExternalAudioFrame". audio doesnt streaming.

mRtcEngine.setExternalAudioSource(true, 8000, 1);
mRtcEngine.pushExternalAudioFrame(bytes,1000);

@yoreland
Copy link
Contributor

If you do want to manage audio recording yourself you could take a look at
https://github.com/AgoraIO/API-Examples/blob/master/Android/APIExample/app/src/main/java/io/agora/api/example/examples/advanced/customaudio/CustomAudioSource.java
This example includes pushExternalAudioFrame usage. You need to take care of sampleRate configuration

@bandrarom
Copy link
Author

thank you i will try this

@bandrarom
Copy link
Author

i already used it and it doesn't work proberly.

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