Commit d7080778 by 严久程

云信的消息延迟处理

parent 88ee0a55
......@@ -319,6 +319,8 @@ class YDLavManager {
val infoBean = AgoraInvitationBean()
infoBean.data = data
infoBean.callType = callType
Handler().postDelayed({
AudioImIn.sendCustomNotification(toUid, Gson().toJson(infoBean),
object : IMSendCustomNotificationResultCallBack {
override fun onException(throwable: Throwable) {
......@@ -330,6 +332,8 @@ class YDLavManager {
override fun onSuccess() {
}
})
}, 300)
}
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