(front) add posthog log for Firefox blurring

We want to be able to track device settings and versions when a user
enables this feature.
This commit is contained in:
Nathan Vasse
2025-01-14 10:54:03 +01:00
committed by NathanVss
parent 56379f2d6e
commit e1ece8b5af

View File

@@ -1,4 +1,5 @@
import { ProcessorOptions, Track } from 'livekit-client'
import posthog from 'posthog-js'
import {
FilesetResolver,
ImageSegmenter,
@@ -89,6 +90,8 @@ export class BackgroundBlurCustomProcessor
this.segmentationMask = new ImageData(PROCESSING_WIDTH, PROCESSING_HEIGHT)
await this.initSegmenter()
this._initWorker()
posthog.capture('firefox-blurring-init')
}
update(opts: BackgroundOptions): void {