mirror of
https://github.com/suitenumerique/meet.git
synced 2026-09-03 22:25:27 +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
@@ -135,7 +135,9 @@ export const captureMediaEvent = async (
|
||||
| 'media-device-topology'
|
||||
| 'media-device-success'
|
||||
| 'device-not-found'
|
||||
| 'permissions-denied',
|
||||
| 'permissions-denied'
|
||||
| 'visit-room'
|
||||
| 'connection-event',
|
||||
props: Record<string, unknown>
|
||||
) => {
|
||||
captureEvent(event, { ...props, ...(await deviceSnapshot()) })
|
||||
|
||||
Reference in New Issue
Block a user