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
6b58a93b
Commit
6b58a93b
authored
Mar 09, 2021
by
YKai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:8改为声网对应数字编码
parent
cf7dd130
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
YDLavManager.kt
m-audioim/src/main/java/com/ydl/audioim/YDLavManager.kt
+2
-1
No files found.
m-audioim/src/main/java/com/ydl/audioim/YDLavManager.kt
View file @
6b58a93b
...
...
@@ -34,6 +34,7 @@ import com.yidianling.user.api.event.UserLogoutEvent
import
com.yidianling.user.api.service.IUserService
import
de.greenrobot.event.EventBus
import
io.agora.rtm.RtmStatusCode
import
io.agora.rtm.RtmStatusCode.ConnectionChangeReason.CONNECTION_CHANGE_REASON_REMOTE_LOGIN
import
io.reactivex.Observable
import
io.reactivex.android.schedulers.AndroidSchedulers
import
io.reactivex.schedulers.Schedulers
...
...
@@ -536,7 +537,7 @@ class YDLavManager {
* 当reason=8的时候,是远端用户以相同UID登录RTM
* 如果正在通话中,则不进行退出操作
* */
if
(
reason
==
8
&&!
activityIsExists
(
ConsultantAudioHomeActivity
::
class
.
java
)&&!
activityIsExists
(
AudioHomeActivity
::
class
.
java
)){
if
(
reason
==
CONNECTION_CHANGE_REASON_REMOTE_LOGIN
&&!
activityIsExists
(
ConsultantAudioHomeActivity
::
class
.
java
)&&!
activityIsExists
(
AudioHomeActivity
::
class
.
java
)){
logout
()
}
}
...
...
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