Update src/analytics/PosthogEvents.ts

Co-authored-by: Robin <robin@robin.town>
This commit is contained in:
Timo
2024-04-15 20:08:50 +02:00
committed by GitHub
parent 271656bc76
commit 7e169970d4

View File

@@ -223,7 +223,7 @@ export class CallConnectDurationTracker {
public track(options = { log: false }): void {
const now = Date.now();
const totalDuration = now - this.connectStart;
const websockedDuration = this.websocketConnected - this.connectStart;
const websocketDuration = this.websocketConnected - this.connectStart;
const peerConnectionDuration = now - this.websocketConnected;
PosthogAnalytics.instance.trackEvent<CallConnectDuration>({
eventName: "CallConnectDuration",