David Zhao

fix reference

@@ -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)