Changes between Version 2 and Version 4 of Ticket #1888
- Timestamp:
- Oct 6, 2015 7:59:46 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1888
- Property Status changed from new to closed
- Property Resolution changed from to fixed
-
Ticket #1888 – Description
v2 v4 1 = How to build WebRTC =1 [[Image()]]= How to build WebRTC = 2 2 == Mac == 3 3 Refer to !WebRtc development guide [http://www.webrtc.org/native-code/development here]. … … 22 22 }}} 23 23 24 == Android (ARM)==24 == Android == 25 25 Android development is only supported on Linux (reference [http://www.webrtc.org/native-code/android here]), so if you use other platforms, you need to set up a Linux virtual machine. 26 26 … … 61 61 To use !WebRtc AEC, specify the value {{{PJMEDIA_ECHO_WEBRTC}}} in {{{pjsua_media_config.ec_options}}} ({{{MediaConfig.ecOptions}}} for PJSUA2), and specify the delay estimate for sound card and system buffers in {{{pjsua_media_config.ec_tail_len}}} ({{{MediaConfig.ecTailLen}}} for PJSUA2). !WebRtc AEC's performance is very dependent on this delay calculation. A poor estimate, even by as little as 40ms, may affect the echo cancellation results greatly. Our !WebRtc wrapper has enabled the delay agnostic feature, which will adjust the delay accordingly, however it may take some time (5-10s or more) for the Aec module to learn the optimal delay, thus a good initial estimate is necessary for good EC quality in the beginning of a call. 62 62 63 The delay should be '''at least''' as much as frame time (by default, ptime is 20ms) + {{{PJMEDIA_WSOLA_DELAY_MSEC}}} (the default is 5ms). 64 63 65 In PJSUA sample application, run it with the options {{{--ec-opt=3}}} and specify the delay estimate in {{{--ec-tail}}} options. For example: 64 66 {{{ 65 ./pjsua --ec-opt=3 --ec-tail= 4067 ./pjsua --ec-opt=3 --ec-tail=30 66 68 }}} 67 69