简体   繁体   English

Android的webRTC AEC需要什么文件?

[英]What file is needed for webRTC AEC for android?

I wand to add webRTC files to android studio and want to do AEC. 我想将webRTC文件添加到android studio,并希望执行AEC。 but there are too many files in webRTC.. I have already tried many files from git but failed. 但是webRTC中文件太多。.我已经尝试过git中的许多文件,但是失败了。 for example https://github.com/thepacific/webrtc-android-jni 例如https://github.com/thepacific/webrtc-android-jni

https://github.com/DoubangoTelecom/webrtc-audioproc https://github.com/DoubangoTelecom/webrtc-audioproc

could anyone define what file should i add to android studio? 谁能定义我应该添加到android studio的文件?

error is below 错误低于

Error:instruction not supported on mips32r6 or mips64r6 错误:mips32r6或mips64r6不支持该指令
Error:error: instruction requires a CPU feature not currently enabled 错误:错误:指令需要当前未启用的CPU功能

I tried deleting files about mips and neon but it also didn't work.. 我尝试删除有关mips和霓虹灯的文件,但是也没有用。

please help me!! 请帮我!!

I just did this myself. 我只是自己做的。

The WebRTC project is pretty interconnected. WebRTC项目是非常相互联系的。 The best solution is to build the entire project for Android (You require a linux machine for this) using their GN build system, which will result in a libwebrtc.a library. 最好的解决方案是使用其GN构建系统为Android构建整个项目(为此需要Linux机器),这将产生libwebrtc.a库。

You'll then need to write a JNI wrapper over the AudioProcessing module ( https://chromium.googlesource.com/external/webrtc/+/master/webrtc/modules/audio_processing/include/audio_processing.h ). 然后,您需要在AudioProcessing模块( https://chromium.googlesource.com/external/webrtc/+/master/webrtc/modules/audio_processing/include/audio_processing.h )上编写JNI包装器。

The company I work for, Frozen Mountain, offers a product called IceLink ( https://www.frozenmountain.com/products-services/icelink/ ) that offers a complete WebRTC solution for Android if you want to go that route. 我工作的公司Frozen Mountain,提供了一个名为IceLink( https://www.frozenmountain.com/products-services/icelink/ )的产品,如果您想走这条路,可以提供适用于Android的完整WebRTC解决方案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM