Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
59214cdd
Commit
59214cdd
authored
Apr 11, 2022
by
刘鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat : eventbug问题修复
parent
4b028fc1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
19 deletions
+12
-19
config.gradle
config.gradle
+6
-6
AudioHomeActivity.kt
m-audioim/src/main/java/com/ydl/audioim/AudioHomeActivity.kt
+0
-9
YDLavManager.kt
m-audioim/src/main/java/com/ydl/audioim/YDLavManager.kt
+3
-1
AudioHomePresenterImpl.kt
m-audioim/src/main/java/com/ydl/audioim/presenter/AudioHomePresenterImpl.kt
+3
-3
No files found.
config.gradle
View file @
59214cdd
...
@@ -5,7 +5,7 @@ ext {
...
@@ -5,7 +5,7 @@ ext {
ydlPublishVersion
=
[
ydlPublishVersion
=
[
// -------------- 业务模块 --------------
// -------------- 业务模块 --------------
//第三步 若干
//第三步 若干
"m-confide"
:
"0.0.49.5
3
"
,
"m-confide"
:
"0.0.49.5
7
"
,
"m-consultant"
:
"0.0.60.04"
,
"m-consultant"
:
"0.0.60.04"
,
"m-fm"
:
"0.0.30.04"
,
"m-fm"
:
"0.0.30.04"
,
"m-user"
:
"0.0.61.94"
,
"m-user"
:
"0.0.61.94"
,
...
@@ -33,13 +33,13 @@ ext {
...
@@ -33,13 +33,13 @@ ext {
//-------------- 功能组件 --------------
//-------------- 功能组件 --------------
//第一步
//第一步
"ydl-platform"
:
"0.0.40.
79
"
,
"ydl-platform"
:
"0.0.40.
86
"
,
//第二步 若干
//第二步 若干
"ydl-webview"
:
"0.0.38.58"
,
"ydl-webview"
:
"0.0.38.58"
,
"ydl-media"
:
"0.0.21.42"
,
"ydl-media"
:
"0.0.21.42"
,
"ydl-pay"
:
"0.0.18.19"
,
"ydl-pay"
:
"0.0.18.19"
,
"m-audioim"
:
"0.0.49.29.7
2
"
,
"m-audioim"
:
"0.0.49.29.7
6
"
,
"ydl-flutter-base"
:
"0.0.14.38"
,
"ydl-flutter-base"
:
"0.0.14.38"
,
//以下 几乎不会动
//以下 几乎不会动
...
@@ -88,7 +88,7 @@ ext {
...
@@ -88,7 +88,7 @@ ext {
// -------------- 业务模块 --------------
// -------------- 业务模块 --------------
//第三步 若干
//第三步 若干
"m-confide"
:
"0.0.49.5
3
"
,
"m-confide"
:
"0.0.49.5
7
"
,
"m-consultant"
:
"0.0.60.04"
,
"m-consultant"
:
"0.0.60.04"
,
"m-fm"
:
"0.0.30.07"
,
"m-fm"
:
"0.0.30.07"
,
"m-user"
:
"0.0.61.94"
,
"m-user"
:
"0.0.61.94"
,
...
@@ -115,13 +115,13 @@ ext {
...
@@ -115,13 +115,13 @@ ext {
//-------------- 功能组件 --------------
//-------------- 功能组件 --------------
//第一步
//第一步
"ydl-platform"
:
"0.0.40.
79
"
,
"ydl-platform"
:
"0.0.40.
86
"
,
//第二步 若干
//第二步 若干
"ydl-webview"
:
"0.0.38.58"
,
"ydl-webview"
:
"0.0.38.58"
,
"ydl-media"
:
"0.0.21.42"
,
"ydl-media"
:
"0.0.21.42"
,
"ydl-pay"
:
"0.0.18.19"
,
"ydl-pay"
:
"0.0.18.19"
,
"m-audioim"
:
"0.0.49.29.7
2
"
,
"m-audioim"
:
"0.0.49.29.7
6
"
,
"ydl-flutter-base"
:
"0.0.14.38"
,
"ydl-flutter-base"
:
"0.0.14.38"
,
//以下 几乎不会动
//以下 几乎不会动
...
...
m-audioim/src/main/java/com/ydl/audioim/AudioHomeActivity.kt
View file @
59214cdd
...
@@ -245,15 +245,6 @@ class AudioHomeActivity :
...
@@ -245,15 +245,6 @@ class AudioHomeActivity :
//110:生成的 Token 无效
//110:生成的 Token 无效
//123:此用户被服务器禁止
//123:此用户被服务器禁止
LogUtil
.
e
(
"[agora]发生错误回调$err"
)
LogUtil
.
e
(
"[agora]发生错误回调$err"
)
when
(
err
){
3
or
7
->
{
//初始化失败,再次初始化
initializeAgoraEngine
()
}
9
->{
requestPermission
()
}
}
YDLavManager
.
instances
.
callEndStatusUpdate
(
channelId
!!
,
4
,
"频道的错误回调信息$err"
)
YDLavManager
.
instances
.
callEndStatusUpdate
(
channelId
!!
,
4
,
"频道的错误回调信息$err"
)
}
}
...
...
m-audioim/src/main/java/com/ydl/audioim/YDLavManager.kt
View file @
59214cdd
...
@@ -66,7 +66,9 @@ class YDLavManager {
...
@@ -66,7 +66,9 @@ class YDLavManager {
fun
init
(
context
:
Context
,
appId
:
String
)
{
fun
init
(
context
:
Context
,
appId
:
String
)
{
YDLRTMClient
.
instances
.
init
(
context
,
appId
,
listener
)
YDLRTMClient
.
instances
.
init
(
context
,
appId
,
listener
)
EventBus
.
getDefault
().
register
(
this
)
if
(!
EventBus
.
getDefault
().
isRegistered
(
this
))
{
EventBus
.
getDefault
().
register
(
this
)
}
//设置回调
//设置回调
setCallback
()
setCallback
()
...
...
m-audioim/src/main/java/com/ydl/audioim/presenter/AudioHomePresenterImpl.kt
View file @
59214cdd
...
@@ -189,7 +189,7 @@ class AudioHomePresenterImpl :
...
@@ -189,7 +189,7 @@ class AudioHomePresenterImpl :
AliYunRichLogsHelper
.
getInstance
()
AliYunRichLogsHelper
.
getInstance
()
.
sendRichLog
(
.
sendRichLog
(
AliYunLogConfig
.
AGORA
,
AliYunLogConfig
.
AGORA
,
"通知服务端发送推送成功-------Time:${AudioLogUtils.format.format(Calendar.getInstance().time)}"
"通知服务端发送推送成功----
接口:push/notify/doctor
---Time:${AudioLogUtils.format.format(Calendar.getInstance().time)}"
)
)
}
else
{
}
else
{
LogUtil
.
e
(
it
.
msg
)
LogUtil
.
e
(
it
.
msg
)
...
@@ -203,7 +203,7 @@ class AudioHomePresenterImpl :
...
@@ -203,7 +203,7 @@ class AudioHomePresenterImpl :
AliYunRichLogsHelper
.
getInstance
()
AliYunRichLogsHelper
.
getInstance
()
.
sendRichLog
(
.
sendRichLog
(
AliYunLogConfig
.
AGORA
,
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
)
LogHelper
.
getInstance
().
uploadLog
(
false
)
}
}
...
@@ -218,7 +218,7 @@ class AudioHomePresenterImpl :
...
@@ -218,7 +218,7 @@ class AudioHomePresenterImpl :
AliYunRichLogsHelper
.
getInstance
()
AliYunRichLogsHelper
.
getInstance
()
.
sendRichLog
(
.
sendRichLog
(
AliYunLogConfig
.
AGORA
,
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
)
LogHelper
.
getInstance
().
uploadLog
(
false
)
LogUtil
.
e
(
e
.
message
)
LogUtil
.
e
(
e
.
message
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment