From f0c08bea927fe4e867804165987021ceab0287bc Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Mon, 10 Aug 2026 17:11:59 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=88(frontend)=20track=20media=20kind?= =?UTF-8?q?=20on=20join=20screen=20exceptions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When a media exception is raised on the join screen, include the kind of media involved (microphone or camera) in the tracking event, so we can tell which device is actually failing without having to correlate other signals. --- src/frontend/src/features/rooms/livekit/hooks/useJoinTracks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/features/rooms/livekit/hooks/useJoinTracks.ts b/src/frontend/src/features/rooms/livekit/hooks/useJoinTracks.ts index 1e823512..ea9b2c42 100644 --- a/src/frontend/src/features/rooms/livekit/hooks/useJoinTracks.ts +++ b/src/frontend/src/features/rooms/livekit/hooks/useJoinTracks.ts @@ -39,7 +39,7 @@ const PERMISSION_KIND: Record<'audioinput' | 'videoinput', PermissionKind> = { } export const onJoinPreviewError = (e: Error, kind?: PermissionKind) => { - reportError('join_preview_failure', e, { path: 'join_preview' }) + reportError('join_preview_failure', e, { path: 'join_preview', kind }) if ( MediaDeviceFailure.getFailure(e) === MediaDeviceFailure.PermissionDenied ) {