Commit 59214cdd by 刘鹏

feat : eventbug问题修复

parent 4b028fc1
......@@ -5,7 +5,7 @@ ext {
ydlPublishVersion = [
// -------------- 业务模块 --------------
//第三步 若干
"m-confide" : "0.0.49.53",
"m-confide" : "0.0.49.57",
"m-consultant" : "0.0.60.04",
"m-fm" : "0.0.30.04",
"m-user" : "0.0.61.94",
......@@ -33,13 +33,13 @@ ext {
//-------------- 功能组件 --------------
//第一步
"ydl-platform" : "0.0.40.79",
"ydl-platform" : "0.0.40.86",
//第二步 若干
"ydl-webview" : "0.0.38.58",
"ydl-media" : "0.0.21.42",
"ydl-pay" : "0.0.18.19",
"m-audioim" : "0.0.49.29.72",
"m-audioim" : "0.0.49.29.76",
"ydl-flutter-base": "0.0.14.38",
//以下 几乎不会动
......@@ -88,7 +88,7 @@ ext {
// -------------- 业务模块 --------------
//第三步 若干
"m-confide" : "0.0.49.53",
"m-confide" : "0.0.49.57",
"m-consultant" : "0.0.60.04",
"m-fm" : "0.0.30.07",
"m-user" : "0.0.61.94",
......@@ -115,13 +115,13 @@ ext {
//-------------- 功能组件 --------------
//第一步
"ydl-platform" : "0.0.40.79",
"ydl-platform" : "0.0.40.86",
//第二步 若干
"ydl-webview" : "0.0.38.58",
"ydl-media" : "0.0.21.42",
"ydl-pay" : "0.0.18.19",
"m-audioim" : "0.0.49.29.72",
"m-audioim" : "0.0.49.29.76",
"ydl-flutter-base": "0.0.14.38",
//以下 几乎不会动
......
......@@ -245,15 +245,6 @@ class AudioHomeActivity :
//110:生成的 Token 无效
//123:此用户被服务器禁止
LogUtil.e("[agora]发生错误回调$err")
when(err){
3 or 7-> {
//初始化失败,再次初始化
initializeAgoraEngine()
}
9 ->{
requestPermission()
}
}
YDLavManager.instances.callEndStatusUpdate(channelId!!, 4, "频道的错误回调信息$err")
}
......
......@@ -66,7 +66,9 @@ class YDLavManager {
fun init(context: Context, appId: String) {
YDLRTMClient.instances.init(context, appId, listener)
if (!EventBus.getDefault().isRegistered(this)) {
EventBus.getDefault().register(this)
}
//设置回调
setCallback()
......
......@@ -189,7 +189,7 @@ class AudioHomePresenterImpl :
AliYunRichLogsHelper.getInstance()
.sendRichLog(
AliYunLogConfig.AGORA,
"通知服务端发送推送成功-------Time:${AudioLogUtils.format.format(Calendar.getInstance().time)}"
"通知服务端发送推送成功----接口:push/notify/doctor ---Time:${AudioLogUtils.format.format(Calendar.getInstance().time)}"
)
} else {
LogUtil.e(it.msg)
......@@ -203,7 +203,7 @@ class AudioHomePresenterImpl :
AliYunRichLogsHelper.getInstance()
.sendRichLog(
AliYunLogConfig.AGORA,
"通知服务端发送推送失败${it.msg}-------Time:${AudioLogUtils.format.format(Calendar.getInstance().time)}"
"通知服务端发送推送失败${it.msg}--接口:push/notify/doctor -----Time:${AudioLogUtils.format.format(Calendar.getInstance().time)}"
)
LogHelper.getInstance().uploadLog(false)
}
......@@ -218,7 +218,7 @@ class AudioHomePresenterImpl :
AliYunRichLogsHelper.getInstance()
.sendRichLog(
AliYunLogConfig.AGORA,
"通知服务端发送推送失败${e.message}-------Time:${AudioLogUtils.format.format(Calendar.getInstance().time)}"
"通知服务端发送推送失败${e.message}--接口:push/notify/doctor -----Time:${AudioLogUtils.format.format(Calendar.getInstance().time)}"
)
LogHelper.getInstance().uploadLog(false)
LogUtil.e(e.message)
......
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