Update src/analytics/PosthogEvents.ts

Co-authored-by: Robin <robin@robin.town>
This commit is contained in:
Timo
2024-04-15 20:08:59 +02:00
committed by GitHub
co-authored by Robin
parent 7e169970d4
commit 07c1858912
+1 -1
View File
@@ -228,7 +228,7 @@ export class CallConnectDurationTracker {
PosthogAnalytics.instance.trackEvent<CallConnectDuration>({ PosthogAnalytics.instance.trackEvent<CallConnectDuration>({
eventName: "CallConnectDuration", eventName: "CallConnectDuration",
totalDuration, totalDuration,
websockedDuration: this.websocketConnected - this.connectStart, websocketDuration: this.websocketConnected - this.connectStart,
peerConnectionDuration: Date.now() - this.websocketConnected, peerConnectionDuration: Date.now() - this.websocketConnected,
}); });
if (options.log) if (options.log)