mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-21 07:36:43 +00:00
📈(frontend) snapshot media devices on the happy path
Also snapshot the state of media devices when the user successfully joins a meeting, not only when something goes wrong. This gives us the baseline needed to compute meaningful ratios — for example, the share of users who join a meeting without granting permissions, or without a microphone or camera available. Without a happy-path measurement, the current error-only data has no denominator to compare against.
This commit is contained in:
committed by
aleb_the_flash
parent
ab40ec365d
commit
c838229ec9
@@ -26,11 +26,7 @@ import { css } from '@/styled-system/css'
|
||||
import { BackgroundProcessorFactory } from '../livekit/components/blur'
|
||||
import { LocalUserChoices } from '@/stores/userChoices'
|
||||
import { MediaDeviceErrorAlert } from './MediaDeviceErrorAlert'
|
||||
import {
|
||||
captureEvent,
|
||||
reportError,
|
||||
captureMediaEvent,
|
||||
} from '@/features/analytics/telemetry'
|
||||
import { captureMediaEvent, reportError } from '@/features/analytics/telemetry'
|
||||
import { useConfig } from '@/api/useConfig'
|
||||
import { isFireFox } from '@/utils/livekit'
|
||||
import { useIsMobile } from '@/utils/useIsMobile'
|
||||
@@ -65,7 +61,7 @@ export const Conference = ({
|
||||
const { username } = useSnapshot(userStore)
|
||||
|
||||
useEffect(() => {
|
||||
captureEvent('visit-room', { slug: roomId })
|
||||
void captureMediaEvent('visit-room', { slug: roomId })
|
||||
}, [roomId])
|
||||
const fetchKey = [keys.room, roomId]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user