From 44b33dba57a8c34910dc02ce39019a0b7955cbb7 Mon Sep 17 00:00:00 2001 From: Ben Cherry Date: Fri, 24 Jan 2025 17:02:39 -0800 Subject: [PATCH] improve debug log for remote track pub/unpub --- lib/src/context/room_context.dart | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/src/context/room_context.dart b/lib/src/context/room_context.dart index 47cb730..635ba25 100644 --- a/lib/src/context/room_context.dart +++ b/lib/src/context/room_context.dart @@ -116,11 +116,13 @@ class RoomContext extends ChangeNotifier with ChatContextMixin { notifyListeners(); }) ..on((event) { - Debug.event('ParticipantContext: TrackPublishedEvent $roomName'); + Debug.event( + 'RoomContext: TrackPublishedEvent $roomName participant = ${event.participant.identity} track = ${event.publication.sid}'); _buildParticipants(); }) ..on((event) { - Debug.event('ParticipantContext: TrackUnpublishedEvent $roomName'); + Debug.event( + 'RoomContext: TrackUnpublishedEvent $roomName participant = ${event.participant.identity} track = ${event.publication.sid}'); _buildParticipants(); }) ..on((event) {