Skip to content

Commit 78d6b14

Browse files
committed
log warning
1 parent bdd199e commit 78d6b14

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/src/core/room.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,10 @@ class Room extends DisposableChangeNotifier with EventsEmittable<RoomEvent> {
850850
for (final update in updates) {
851851
// try to find RemoteParticipant
852852
final participant = _remoteParticipants.bySid[update.participantSid];
853-
if (participant == null) continue;
853+
if (participant == null) {
854+
logger.warning('Participant not found for sid ${update.participantSid}');
855+
continue;
856+
}
854857
// try to find RemoteTrackPublication
855858
final trackPublication = participant.trackPublications[update.trackSid];
856859
if (trackPublication == null) continue;

0 commit comments

Comments
 (0)