2017-08-01 57 views
0

我把魔杖添加到android studio的webRTC文件,並希望做AEC。 但webRTC中有太多文件.. 我已經嘗試了很多來自git的文件,但失敗了。 例如 https://github.com/thepacific/webrtc-android-jniandroid的webRTC AEC需要什麼文件?

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

任何人都可以定義,我應該向Android添加工作室是什麼文件?

誤差小於

Error:instruction not supported on mips32r6 or mips64r6
Error:error: instruction requires a CPU feature not currently enabled

我試圖刪除關於MIPS和霓虹燈文件,但它也沒有工作..

請幫助我!

+0

改進格式 –

回答

1

我只是自己做了這個。

WebRTC項目非常相互關聯。最好的解決方案是使用他們的GN構建系統爲Android構建整個項目(您需要一臺Linux機器),這會產生一個libwebrtc.a庫。

然後,您需要在AudioProcessing模塊(https://chromium.googlesource.com/external/webrtc/+/master/webrtc/modules/audio_processing/include/audio_processing.h)上編寫一個JNI包裝器。

我爲Frozen Mountain工作的公司提供名爲IceLink的產品(https://www.frozenmountain.com/products-services/icelink/),如果您想要走這條路線,可以爲Android提供完整的WebRTC解決方案。