Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

πŸ“ˆ(frontend) track metadata on recording-started events

lebaudantoine13d0d3d801e7
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2a495d99..48ff4453 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,10 @@ and this project adheres to
## [Unreleased]
+### Changed
+
+- πŸ“ˆ(frontend) track new recording's modes
+
## [1.2.0] - 2026-01-05
### Added
diff --git a/src/frontend/src/features/recording/components/ScreenRecordingSidePanel.tsx b/src/frontend/src/features/recording/components/ScreenRecordingSidePanel.tsx
index 8523abbd..dd139451 100644
--- a/src/frontend/src/features/recording/components/ScreenRecordingSidePanel.tsx
+++ b/src/frontend/src/features/recording/components/ScreenRecordingSidePanel.tsx
@@ -98,7 +98,10 @@ export const ScreenRecordingSidePanel = () => {
await notifyParticipants({
type: NotificationType.ScreenRecordingStarted,
})
- posthog.capture('screen-recording-started', {})
+ posthog.capture('screen-recording-started', {
+ includeTranscript: includeTranscript,
+ language: selectedLanguageKey,
+ })
}
} catch (error) {
console.error('Failed to handle recording:', error)
diff --git a/src/frontend/src/features/recording/components/TranscriptSidePanel.tsx b/src/frontend/src/features/recording/components/TranscriptSidePanel.tsx
index 84ac9d9e..d608ab9a 100644
--- a/src/frontend/src/features/recording/components/TranscriptSidePanel.tsx
+++ b/src/frontend/src/features/recording/components/TranscriptSidePanel.tsx
@@ -117,7 +117,10 @@ export const TranscriptSidePanel = () => {
await notifyParticipants({
type: NotificationType.TranscriptionStarted,
})
- posthog.capture('transcript-started', {})
+ posthog.capture('transcript-started', {
+ includeScreenRecording: includeScreenRecording,
+ language: selectedLanguageKey,
+ })
}
} catch (error) {
console.error('Failed to handle transcript:', error)