pjsua2 Android receiving raw audio data

AS
Andrey Shevchenko
Fri, May 8, 2020 12:05 PM

Hi,

I have been trying to get audio data from pjsip to further recognize the
text. I don't need to write this audio data to a file, as
AudioMediaRecorder does. There isBuffer-based Capture Port  https://www.pjsip.org/docs/latest/pjmedia/docs/html/group__PJMEDIA__MEM__CAPTURE.htmin pjsip, but it looks like it is not implemented in SWIG wrapper for
Android. Is there any modification for Android SWIG wrapper to use
"Memory/Buffer-based Capture Port" through pjsua2?  Or can you advise where to start?

Regards
Andrey

--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Hi, I have been trying to get audio data from pjsip to further recognize the text. I don't need to write this audio data to a file, as AudioMediaRecorder does. There isBuffer-based Capture Port <https://www.pjsip.org/docs/latest/pjmedia/docs/html/group__PJMEDIA__MEM__CAPTURE.htm>in pjsip, but it looks like it is not implemented in SWIG wrapper for Android. Is there any modification for Android SWIG wrapper to use "Memory/Buffer-based Capture Port" through pjsua2? Or can you advise where to start? Regards Andrey -- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus