From 0cbf93d1c3fc3d49450371ccb293ddcdb2b296ed Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期六, 28 八月 2021 17:36:02 +0800 Subject: [PATCH] 2021-08-28 1.更新 --- HDLLinphoneSDKDemoNew/HDLLinphoneSDK/src/main/java/com/hdl/hdllinphonesdk/core/service/HDLLinphoneService.java | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/HDLLinphoneSDKDemoNew/HDLLinphoneSDK/src/main/java/com/hdl/hdllinphonesdk/core/service/HDLLinphoneService.java b/HDLLinphoneSDKDemoNew/HDLLinphoneSDK/src/main/java/com/hdl/hdllinphonesdk/core/service/HDLLinphoneService.java index 54d633a..9a7bbbf 100644 --- a/HDLLinphoneSDKDemoNew/HDLLinphoneSDK/src/main/java/com/hdl/hdllinphonesdk/core/service/HDLLinphoneService.java +++ b/HDLLinphoneSDKDemoNew/HDLLinphoneSDK/src/main/java/com/hdl/hdllinphonesdk/core/service/HDLLinphoneService.java @@ -326,12 +326,12 @@ // mCore.setNetworkReachable(true); //5.鍥炲0娑堥櫎 mCore.enableEchoCancellation(true); - mCore.enableEchoLimiter(true); +// mCore.enableEchoLimiter(false); mCore.enableMic(true);//鍚敤楹﹀厠椋� //6.鑷�傚簲鐮佺巼鎺у埗 mCore.enableAdaptiveRateControl(true); //7.audio 鐮佺巼璁剧疆 -// mCore.getConfig().setInt("audio", "codec_bitrate_limit", 36); + mCore.getConfig().setInt("audio", "codec_bitrate_limit", 36); //8.瑙嗛鐩稿叧璁剧疆 mCore.setVideoPreset("custom");//瑙嗛棰勮涓篶ustom mCore.setPreferredFramerate(5);//FPS浼樺厛璁剧疆涓�5 @@ -454,6 +454,9 @@ // mPauseSoundFile = basePath + "/toy_mono.wav"; // copyIfNotExist(R.raw.toy_mono, basePath + "/toy_mono.wav"); + String mLPConfigXsd = basePath + "/lpconfig.xsd"; + copyIfNotExist(R.raw.lpconfig, mLPConfigXsd); + } catch (IOException ioe) { Log.e(ioe); } -- Gitblit v1.8.0