mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-12 19:56:53 +00:00
📈(frontend) track media kind on join screen exceptions
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.
This commit is contained in:
committed by
aleb_the_flash
parent
03e90b6178
commit
f0c08bea92
@@ -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
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user