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
parent 7e169970d4
commit 07c1858912

View File

@@ -228,7 +228,7 @@ export class CallConnectDurationTracker {
PosthogAnalytics.instance.trackEvent<CallConnectDuration>({
eventName: "CallConnectDuration",
totalDuration,
websockedDuration: this.websocketConnected - this.connectStart,
websocketDuration: this.websocketConnected - this.connectStart,
peerConnectionDuration: Date.now() - this.websocketConnected,
});
if (options.log)