Open source video conferencing app powered by LiveKit. Built with Django and React.
✨(front) add posthog log for Firefox blurring
Nathan Vassee1ece8b5afb8
diff --git a/src/frontend/src/features/rooms/livekit/components/blur/BackgroundBlurCustomProcessor.ts b/src/frontend/src/features/rooms/livekit/components/blur/BackgroundBlurCustomProcessor.tsindex 768ccee0..eba10993 100644--- a/src/frontend/src/features/rooms/livekit/components/blur/BackgroundBlurCustomProcessor.ts+++ b/src/frontend/src/features/rooms/livekit/components/blur/BackgroundBlurCustomProcessor.ts@@ -1,4 +1,5 @@import { ProcessorOptions, Track } from 'livekit-client'+import posthog from 'posthog-js'import {FilesetResolver,ImageSegmenter,@@ -89,6 +90,8 @@ export class BackgroundBlurCustomProcessorthis.segmentationMask = new ImageData(PROCESSING_WIDTH, PROCESSING_HEIGHT)await this.initSegmenter()this._initWorker()++ posthog.capture('firefox-blurring-init')}update(opts: BackgroundOptions): void {