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
f3b2f205
Commit
f3b2f205
authored
Oct 29, 2020
by
YKai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:拨打电话日志优化,组件升级
parent
8b670006
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
config.gradle
config.gradle
+4
-4
YDLavManager.kt
m-audioim/src/main/java/com/ydl/audioim/YDLavManager.kt
+5
-5
No files found.
config.gradle
View file @
f3b2f205
...
...
@@ -5,7 +5,7 @@ ext {
ydlPublishVersion
=
[
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.48.8
2
"
,
"m-confide"
:
"0.0.48.8
3
"
,
"m-consultant"
:
"0.0.59.36"
,
"m-fm"
:
"0.0.30.00"
,
"m-user"
:
"0.0.60.34"
,
...
...
@@ -40,7 +40,7 @@ ext {
"ydl-webview"
:
"0.0.38.33"
,
"ydl-media"
:
"0.0.21.6"
,
"ydl-pay"
:
"0.0.18.13"
,
"m-audioim"
:
"0.0.49.29.1
4
"
,
"m-audioim"
:
"0.0.49.29.1
5
"
,
"ydl-flutter-base"
:
"0.0.14.20"
,
//以下 几乎不会动
...
...
@@ -89,7 +89,7 @@ ext {
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.48.8
2
"
,
"m-confide"
:
"0.0.48.8
3
"
,
"m-consultant"
:
"0.0.51.16"
,
"m-fm"
:
"0.0.23.5"
,
"m-user"
:
"0.0.41.13"
,
...
...
@@ -121,7 +121,7 @@ ext {
"ydl-webview"
:
"0.0.38.32"
,
"ydl-media"
:
"0.0.21.6"
,
"ydl-pay"
:
"0.0.18.11"
,
"m-audioim"
:
"0.0.49.29.1
4
"
,
"m-audioim"
:
"0.0.49.29.1
5
"
,
"ydl-flutter-base"
:
"0.0.14.20"
,
//以下 几乎不会动
...
...
m-audioim/src/main/java/com/ydl/audioim/YDLavManager.kt
View file @
f3b2f205
...
...
@@ -231,9 +231,9 @@ class YDLavManager {
override
fun
onOtherMsg
(
error
:
String
?)
{
LogUtil
.
e
(
"[agora]其它消息:${error}"
)
if
(
error
.
equals
(
"呼叫发送成功"
)){
writeAgoraLog
(
"声网发送通话邀请成功-------Time:${AudioLogUtils.format.format(Calendar.getInstance().time)}"
,
FILE_NAME
)
writeAgoraLog
(
"声网发送通话邀请成功-------Time:${AudioLogUtils.format.format(Calendar.getInstance().time)}"
,
"confide.log"
)
}
else
{
writeAgoraLog
(
"声网发送通话邀请失败${error}-------Time:${AudioLogUtils.format.format(Calendar.getInstance().time)}"
,
FILE_NAME
)
writeAgoraLog
(
"声网发送通话邀请失败${error}-------Time:${AudioLogUtils.format.format(Calendar.getInstance().time)}"
,
"confide.log"
)
LogHelper
.
getInstance
().
uploadLog
(
false
)
}
}
...
...
@@ -343,17 +343,17 @@ class YDLavManager {
AudioImIn
.
sendCustomNotification
(
toUid
,
Gson
().
toJson
(
infoBean
),
object
:
IMSendCustomNotificationResultCallBack
{
override
fun
onException
(
throwable
:
Throwable
)
{
writeAgoraLog
(
"云信发送通话邀请异常${throwable.message}-------Time:${AudioLogUtils.format.format(Calendar.getInstance().time)}"
,
FILE_NAME
,
false
)
writeAgoraLog
(
"云信发送通话邀请异常${throwable.message}-------Time:${AudioLogUtils.format.format(Calendar.getInstance().time)}"
,
"confide.log"
,
false
)
LogHelper
.
getInstance
().
uploadLog
(
false
)
}
override
fun
onFailed
(
code
:
Int
)
{
writeAgoraLog
(
"云信发送通话邀请失败${code}-------Time:${AudioLogUtils.format.format(Calendar.getInstance().time)}"
,
FILE_NAME
,
false
)
writeAgoraLog
(
"云信发送通话邀请失败${code}-------Time:${AudioLogUtils.format.format(Calendar.getInstance().time)}"
,
"confide.log"
,
false
)
LogHelper
.
getInstance
().
uploadLog
(
false
)
}
override
fun
onSuccess
()
{
writeAgoraLog
(
"云信发送通话邀请成功-------Time:${AudioLogUtils.format.format(Calendar.getInstance().time)}"
,
FILE_NAME
,
false
)
writeAgoraLog
(
"云信发送通话邀请成功-------Time:${AudioLogUtils.format.format(Calendar.getInstance().time)}"
,
"confide.log"
,
false
)
}
})
},
300
)
...
...
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