[英]How to catch and translate incoming audio stream in other languages for an iOS Client app using PJSIP?
I want to integrate language converter in VoIP based iOS client app which will translate real time incoming audio stream to other selected languages based on user choice, I am using PjSip open source library to support VoIP Calls. 我想在基于VoIP的iOS客户端应用程序中集成语言转换器,它将根据用户的选择将实时传入的音频流转换为其他选定的语言,我正在使用PjSip开源库来支持VoIP呼叫。
For language translation I want to use speech to text and text to speech open source library. 对于语言翻译,我想使用语音到文本和文本到语音的开源库。
Now I am facing following issues : 现在我面临以下问题:
Please help.Thanks. 请帮忙。谢谢。
I found one possibility to catch the incoming audio stream could be to define REC_FILE in conference.c . 我发现捕获传入音频流的一种可能是在Conference.c中定义REC_FILE。
For example: #define REC_FILE "/mypath/myname.pcm". 例如:#define REC_FILE“ /mypath/myname.pcm”。
PJSIP will store the frames unformatted (plain PCM data) in the given file. PJSIP将未格式化的帧(纯PCM数据)存储在给定文件中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.