正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -60,7 +60,7 @@ class CallActivity : AppCompatActivity() { | @@ -60,7 +60,7 @@ class CallActivity : AppCompatActivity() { | ||
| 60 | room.initVideoRenderer(binding.pipVideoView) | 60 | room.initVideoRenderer(binding.pipVideoView) |
| 61 | val localParticipant = room.localParticipant | 61 | val localParticipant = room.localParticipant |
| 62 | if (localParticipant != null) { | 62 | if (localParticipant != null) { |
| 63 | - val videoTrack = localParticipant.localVideoTrackPublications | 63 | + val videoTrack = localParticipant.videoTracks.values |
| 64 | .firstOrNull() | 64 | .firstOrNull() |
| 65 | ?.track as? LocalVideoTrack | 65 | ?.track as? LocalVideoTrack |
| 66 | videoTrack?.addRenderer(binding.pipVideoView) | 66 | videoTrack?.addRenderer(binding.pipVideoView) |
-
请 注册 或 登录 后发表评论