Commit 4cf90405 by 霍志良

feat:取消系统来电挂点倾诉咨询电话

parent ab643681
...@@ -5,7 +5,7 @@ ext { ...@@ -5,7 +5,7 @@ ext {
ydlPublishVersion = [ ydlPublishVersion = [
// -------------- 业务模块 -------------- // -------------- 业务模块 --------------
//第三步 若干 //第三步 若干
"m-confide" : "0.0.49.12", "m-confide" : "0.0.49.13",
"m-consultant" : "0.0.59.92", "m-consultant" : "0.0.59.92",
"m-fm" : "0.0.30.04", "m-fm" : "0.0.30.04",
"m-user" : "0.0.61.56", "m-user" : "0.0.61.56",
...@@ -39,7 +39,7 @@ ext { ...@@ -39,7 +39,7 @@ ext {
"ydl-webview" : "0.0.38.47", "ydl-webview" : "0.0.38.47",
"ydl-media" : "0.0.21.10", "ydl-media" : "0.0.21.10",
"ydl-pay" : "0.0.18.19", "ydl-pay" : "0.0.18.19",
"m-audioim" : "0.0.49.29.40", "m-audioim" : "0.0.49.29.41",
"ydl-flutter-base": "0.0.14.26", "ydl-flutter-base": "0.0.14.26",
//以下 几乎不会动 //以下 几乎不会动
...@@ -88,7 +88,7 @@ ext { ...@@ -88,7 +88,7 @@ ext {
// -------------- 业务模块 -------------- // -------------- 业务模块 --------------
//第三步 若干 //第三步 若干
"m-confide" : "0.0.49.12", "m-confide" : "0.0.49.13",
"m-consultant" : "0.0.59.92", "m-consultant" : "0.0.59.92",
"m-fm" : "0.0.30.04", "m-fm" : "0.0.30.04",
"m-user" : "0.0.61.56", "m-user" : "0.0.61.56",
...@@ -121,7 +121,7 @@ ext { ...@@ -121,7 +121,7 @@ ext {
"ydl-webview" : "0.0.38.47", "ydl-webview" : "0.0.38.47",
"ydl-media" : "0.0.21.10", "ydl-media" : "0.0.21.10",
"ydl-pay" : "0.0.18.19", "ydl-pay" : "0.0.18.19",
"m-audioim" : "0.0.49.29.40", "m-audioim" : "0.0.49.29.41",
"ydl-flutter-base": "0.0.14.26", "ydl-flutter-base": "0.0.14.26",
//以下 几乎不会动 //以下 几乎不会动
......
...@@ -404,11 +404,6 @@ class AudioHomeActivity : ...@@ -404,11 +404,6 @@ class AudioHomeActivity :
override fun onLocalAudioStateChanged(localVideoState: Int, error: Int) { override fun onLocalAudioStateChanged(localVideoState: Int, error: Int) {
super.onLocalAudioStateChanged(localVideoState, error) super.onLocalAudioStateChanged(localVideoState, error)
writeAgoraLog("本地音频回调$error") writeAgoraLog("本地音频回调$error")
if (error == 8) {
//当检测到系统来电中断通话
leaveChannel()
}
} }
override fun onNetworkQuality(uid: Int, txQuality: Int, rxQuality: Int) { override fun onNetworkQuality(uid: Int, txQuality: Int, rxQuality: Int) {
......
...@@ -352,10 +352,6 @@ class ConsultantAudioHomeActivity : ...@@ -352,10 +352,6 @@ class ConsultantAudioHomeActivity :
override fun onLocalAudioStateChanged(localVideoState: Int, error: Int) { override fun onLocalAudioStateChanged(localVideoState: Int, error: Int) {
super.onLocalAudioStateChanged(localVideoState, error) super.onLocalAudioStateChanged(localVideoState, error)
writeAgoraLog("本地音频回调$error") writeAgoraLog("本地音频回调$error")
if (error==8){
//本地音频被系统电话中断
leaveChannel()
}
} }
override fun onNetworkQuality(uid: Int, txQuality: Int, rxQuality: Int) { override fun onNetworkQuality(uid: Int, txQuality: Int, rxQuality: Int) {
super.onNetworkQuality(uid, txQuality, rxQuality) super.onNetworkQuality(uid, txQuality, rxQuality)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment