Commit 81b503cd by 严久程

Merge branch '声网通话流程优化' of…

Merge branch '声网通话流程优化' of ssh://gitlab.yidianling.com:2224/app_android_lib/YDL-Component into 声网通话流程优化
parents 7c0c41d4 d7080778
...@@ -319,6 +319,8 @@ class YDLavManager { ...@@ -319,6 +319,8 @@ class YDLavManager {
val infoBean = AgoraInvitationBean() val infoBean = AgoraInvitationBean()
infoBean.data = data infoBean.data = data
infoBean.callType = callType infoBean.callType = callType
Handler().postDelayed({
AudioImIn.sendCustomNotification(toUid, Gson().toJson(infoBean), AudioImIn.sendCustomNotification(toUid, Gson().toJson(infoBean),
object : IMSendCustomNotificationResultCallBack { object : IMSendCustomNotificationResultCallBack {
override fun onException(throwable: Throwable) { override fun onException(throwable: Throwable) {
...@@ -330,6 +332,8 @@ class YDLavManager { ...@@ -330,6 +332,8 @@ class YDLavManager {
override fun onSuccess() { override fun onSuccess() {
} }
}) })
}, 300)
} }
fun login(userId: String?) { fun login(userId: String?) {
......
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