API-Examples
API-Examples copied to clipboard
I have apply agora external audio api . but i get unwanted noice only. but my video streaming part working
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);
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
thank you i will try this
i already used it and it doesn't work proberly.