正在显示
4 个修改的文件
包含
5 行增加
和
10 行删除
| @@ -7,6 +7,8 @@ | @@ -7,6 +7,8 @@ | ||
| 7 | /.idea/workspace.xml | 7 | /.idea/workspace.xml |
| 8 | /.idea/navEditor.xml | 8 | /.idea/navEditor.xml |
| 9 | /.idea/assetWizardSettings.xml | 9 | /.idea/assetWizardSettings.xml |
| 10 | +/.idea/deploymentTargetDropDown.xml | ||
| 11 | +/.idea/misc.xml | ||
| 10 | .DS_Store | 12 | .DS_Store |
| 11 | /build | 13 | /build |
| 12 | /captures | 14 | /captures |
.idea/misc.xml
已删除
100644 → 0
| 1 | -<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | -<project version="4"> | ||
| 3 | - <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK"> | ||
| 4 | - <output url="file://$PROJECT_DIR$/build/classes" /> | ||
| 5 | - </component> | ||
| 6 | - <component name="ProjectType"> | ||
| 7 | - <option name="id" value="Android" /> | ||
| 8 | - </component> | ||
| 9 | -</project> |
| @@ -237,6 +237,8 @@ constructor( | @@ -237,6 +237,8 @@ constructor( | ||
| 237 | } | 237 | } |
| 238 | return | 238 | return |
| 239 | } | 239 | } |
| 240 | + | ||
| 241 | + Timber.v { "response: $response" } | ||
| 240 | when (response.messageCase) { | 242 | when (response.messageCase) { |
| 241 | LivekitRtc.SignalResponse.MessageCase.ANSWER -> { | 243 | LivekitRtc.SignalResponse.MessageCase.ANSWER -> { |
| 242 | val sd = fromProtoSessionDescription(response.answer) | 244 | val sd = fromProtoSessionDescription(response.answer) |
| @@ -212,7 +212,7 @@ constructor( | @@ -212,7 +212,7 @@ constructor( | ||
| 212 | continue | 212 | continue |
| 213 | } | 213 | } |
| 214 | 214 | ||
| 215 | - val isNewParticipant = remoteParticipants.contains(participantSid) | 215 | + val isNewParticipant = !remoteParticipants.contains(participantSid) |
| 216 | val participant = getOrCreateRemoteParticipant(participantSid, info) | 216 | val participant = getOrCreateRemoteParticipant(participantSid, info) |
| 217 | 217 | ||
| 218 | if (info.state == LivekitModels.ParticipantInfo.State.DISCONNECTED) { | 218 | if (info.state == LivekitModels.ParticipantInfo.State.DISCONNECTED) { |
-
请 注册 或 登录 后发表评论