✨(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:
@@ -1,4 +1,5 @@
|
|||||||
import { ProcessorOptions, Track } from 'livekit-client'
|
import { ProcessorOptions, Track } from 'livekit-client'
|
||||||
|
import posthog from 'posthog-js'
|
||||||
import {
|
import {
|
||||||
FilesetResolver,
|
FilesetResolver,
|
||||||
ImageSegmenter,
|
ImageSegmenter,
|
||||||
@@ -89,6 +90,8 @@ export class BackgroundBlurCustomProcessor
|
|||||||
this.segmentationMask = new ImageData(PROCESSING_WIDTH, PROCESSING_HEIGHT)
|
this.segmentationMask = new ImageData(PROCESSING_WIDTH, PROCESSING_HEIGHT)
|
||||||
await this.initSegmenter()
|
await this.initSegmenter()
|
||||||
this._initWorker()
|
this._initWorker()
|
||||||
|
|
||||||
|
posthog.capture('firefox-blurring-init')
|
||||||
}
|
}
|
||||||
|
|
||||||
update(opts: BackgroundOptions): void {
|
update(opts: BackgroundOptions): void {
|
||||||
|
|||||||
Reference in New Issue
Block a user