Send NodeID with analytics events (#2749)

This commit is contained in:
David Zhao
2024-06-02 09:09:55 -07:00
committed by GitHub
parent 526d3a017e
commit b99650aaf6
3 changed files with 4 additions and 3 deletions
+1
View File
@@ -70,6 +70,7 @@ func (a *analyticsService) SendEvent(_ context.Context, event *livekit.Analytics
return
}
event.NodeId = a.nodeID
event.AnalyticsKey = a.analyticsKey
if err := a.events.Send(&livekit.AnalyticsEvents{
Events: []*livekit.AnalyticsEvent{event},