From ff886457f58791eea4532f6167af51184d9dfe43 Mon Sep 17 00:00:00 2001 From: lss <lsc@hdlchina.com.cn> Date: 星期四, 26 五月 2022 17:31:42 +0800 Subject: [PATCH] 送测 --- HDLLinphoneSDKDemoNew/HDLLinphoneSDK/src/main/java/com/hdl/hdllinphonesdk/activity/HDLLinphoneIntercomActivity.java | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/HDLLinphoneSDKDemoNew/HDLLinphoneSDK/src/main/java/com/hdl/hdllinphonesdk/activity/HDLLinphoneIntercomActivity.java b/HDLLinphoneSDKDemoNew/HDLLinphoneSDK/src/main/java/com/hdl/hdllinphonesdk/activity/HDLLinphoneIntercomActivity.java index 397b8ce..0a48ba6 100644 --- a/HDLLinphoneSDKDemoNew/HDLLinphoneSDK/src/main/java/com/hdl/hdllinphonesdk/activity/HDLLinphoneIntercomActivity.java +++ b/HDLLinphoneSDKDemoNew/HDLLinphoneSDK/src/main/java/com/hdl/hdllinphonesdk/activity/HDLLinphoneIntercomActivity.java @@ -139,8 +139,6 @@ timer_lp_calltime = (Chronometer) findViewById(R.id.timer_lp_calltime); tv_lp_calltime = findViewById(R.id.tv_lp_calltime); setWidthHeightWithRatio(ll_video_lp_rendering, 16, 9); - - } /** @@ -261,7 +259,6 @@ showToast(getString(R.string.lp_operationFailedStr)); } } - /** * 寮�閿佺偣鍑讳簨浠� @@ -400,7 +397,9 @@ core.setNativePreviewWindowId(video_lp_rendering2); // Listen for call state changes core.addListener(mCoreListener); + core.enableMic(true);//寮�鍚害鍏嬮 } + } /** @@ -416,7 +415,6 @@ video_lp_rendering = null; video_lp_rendering2 = null; } - /** * 鍒濆鍖栭渿鍔ㄥ櫒 @@ -443,8 +441,8 @@ /** * 鍏抽棴闇囧姩鍣� */ - void cancelVibrator(){ - if(mVibrator != null){ + void cancelVibrator() { + if (mVibrator != null) { mVibrator.cancel(); mVibrator = null; } -- Gitblit v1.8.0