Clean up closed tracks stats and handle -ve packet_lost (#430)

Signed-off-by: shishir gowda <shishir@livekit.io>
This commit is contained in:
shishirng
2022-02-10 11:21:17 -05:00
committed by GitHub
parent f3572d2654
commit e96e8e7f97
2 changed files with 24 additions and 0 deletions
@@ -126,6 +126,7 @@ func (t *telemetryServiceInternal) TrackUnpublished(ctx context.Context, partici
if w != nil {
roomID = w.roomID
roomName = w.roomName
w.RemoveStats(livekit.TrackID(track.GetSid()))
}
prometheus.SubPublishedTrack(track.Type.String())