From 685a971c4049f24184423adfddb24a68b3afc0aa Mon Sep 17 00:00:00 2001
From: lss <lsc@hdlchina.com.cn>
Date: 星期三, 15 六月 2022 13:54:03 +0800
Subject: [PATCH] 2022-6-15
---
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