API-Examples icon indicating copy to clipboard operation
API-Examples copied to clipboard

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

Open bandrarom opened this issue 3 years ago • 3 comments

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);

bandrarom avatar Dec 17 '21 15:12 bandrarom

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

yoreland avatar Dec 23 '21 06:12 yoreland

thank you i will try this

bandrarom avatar Dec 23 '21 07:12 bandrarom

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

bandrarom avatar Dec 23 '21 07:12 bandrarom