WebRTC: Android
Introduction
We have introduced the WebRTC Android Krisp Module, which facilitates the integration of the Krisp Audio SDK for Android with the WebRTC Android Library.
The WebRTC Android Krisp Module is published at https://github.com/krispai/webrtc-android-krisp-module public Git repository.
The WebRTC Android Krisp Module does not include the Krisp Audio SDK for Android. Instead, it serves as a bridge, connecting the WebRTC Android Library with the Krisp Audio SDK for Android through the Android app.
WebRTC Android Library with WebRTC Android Krisp Module
Build and Usage Instructions
Please check the README.md Git repository document for usage and build instructions.
If you don't need WebRTC customization you can skip the build step and directly download WebRTC Android Library with WebRTC Android Krisp Module using the link WebRTC-v126-with-Krisp-Module-v1.1.
Look for the libwertc.aar
downloadable link.
Android Sample App
Android sample app is published on the public Git repo.
WebRTC-Sample-Krisp-Android
To build the sample app you need to
- put libwebrtc.aar package which includes the WebRTC Android Library with the WebRTC Android Krisp Module into the Android Studio Project.
- You should put Krisp NC model into the Android Studio Project
- put
krisp-audio-sdk.so
and thec++_shared.so
for each platform into the Android Studio Project
Instructions
- copy the
libwebrtc.aar
to the./WebRTC-Sample-Krisp-Android/app/libs
- copy the Krisp NC model to the
./WebRTC-Sample-Krisp-Android/app/src/main/res/raw/model32.kw
- copy the arm64-v8a
krisp-audio-sdk.so
andc++_shared.so
to the./WebRTC-Sample-Krisp-Android/app/src/main/jniLibs/arm64-v8a
- copy the arm v7
krisp-audio-sdk.so
andc++_shared.so
to the ./WebRTC-Sample-Krisp-Android/app/src/main/jniLibs/armeabi-v7a - copy the arm v7 krisp-audio-sdk.so and
c++_shared.so
to the./WebRTC-Sample-Krisp-Android/app/src/main/jniLibs/x86
- copy the arm v7
krisp-audio-sdk.so
andc++_shared.so
to the./WebRTC-Sample-Krisp-Android/app/src/main/jniLibs/x86_64
Updated about 1 month ago