Add IngressUpdated event (#1775)

This commit is contained in:
Benjamin Pracht
2023-06-16 10:58:49 -07:00
committed by GitHub
parent cadf3bf649
commit 552e3758d5
4 changed files with 53 additions and 0 deletions
+6
View File
@@ -456,6 +456,12 @@ func (t *telemetryService) IngressStarted(ctx context.Context, info *livekit.Ing
})
}
func (t *telemetryService) IngressUpdated(ctx context.Context, info *livekit.IngressInfo) {
t.enqueue(func() {
t.SendEvent(ctx, newIngressEvent(livekit.AnalyticsEventType_INGRESS_UPDATED, info))
})
}
func (t *telemetryService) IngressEnded(ctx context.Context, info *livekit.IngressInfo) {
t.enqueue(func() {
t.NotifyEvent(ctx, &livekit.WebhookEvent{