28 | | 1. Create a working directory, for example: {{{webrtc-android}}}, and create a {{{jni/}}} folder inside it. |
29 | | 2. Copy {{{Application.mk}}} and {{{Android.mk}}} (provided in the ticket attachment below) into the {{{jni}}} directory. |
30 | | 3. Create {{{src/}}} folder inside the {{{jni}}} directory. |
31 | | 4. Copy the entire {{{webrtc}}} folder from another platform's !WebRtc installation (such as from Mac or iOS), which should be located in {{{[webrtc_work_dir]/src}}}, into {{{webrtc-android/jni/src}}}. |
32 | | In the end of this step, you should have both {{{.mk}}} files in {{{jni}}} folder and a full !WebRtc source inside {{{jni/src/webrtc}}}. |
33 | | 5. Go to {{{jni}}} folder and run {{{ndk-build}}}. |
34 | | 6. Copy the resulting .so files from {{{../libs/[target_architecture]}}} into your Android application project directory, for example: |
| 28 | 1. Create a working directory, for example: {{{webrtc-android}}}. |
| 29 | 1. Go to the work dir and unzip {{{webrtc-android-jni.zip}}} (provided in the ticket attachment below). |
| 30 | 1. Go to {{{jni}}} folder and run {{{ndk-build}}}. |
| 31 | 1. Copy the resulting .so files from {{{../libs/[target_architecture]}}} into your Android application project directory, for example: |
80 | | Which is a value between 0 and 1. The closer the value to 1, the poorer the EC quality, try adjusting the EC tail value to the median value to achieve better quality. |
| 77 | Fraction of poor delays is a value between 0 and 1. The closer the value to 1, the poorer the EC quality. |
| 78 | |
| 79 | To improve the EC quality, here are a few things you can try: |
| 80 | - Adjust the EC tail value to the median value. |
| 81 | - Activate noise suppression (pass the options when creating EC with flag {{{PJMEDIA_ECHO_USE_NOISE_SUPPRESSOR}}}). |
| 82 | - Increase EC aggressiveness (pass the options when creating EC with flag {{{PJMEDIA_ECHO_AGGRESSIVENESS_AGGRESSIVE}}}). |
| 83 | - Disable the mobile version by setting {{{PJMEDIA_WEBRTC_AEC_USE_MOBILE}}} to 0 (by doing this, AEC will operate in floating-point mode (instead of integer), which may decrease performance). |