Experimental WARP (#4649)

* Experimental WARP

* fix panic

* go dep

* stats
This commit is contained in:
cnderrauber
2026-08-14 16:26:08 +08:00
committed by GitHub
parent df20578a78
commit dbe06aa8d1
16 changed files with 152 additions and 53 deletions
+2 -1
View File
@@ -111,6 +111,7 @@ func (t *telemetryService) ParticipantActive(
participant *livekit.ParticipantInfo,
clientMeta *livekit.AnalyticsClientMeta,
isMigration bool,
isWarp bool,
guard *ReferenceGuard,
) {
t.enqueue(func() {
@@ -135,7 +136,7 @@ func (t *telemetryService) ParticipantActive(
prometheus.AddParticipant()
}
worker.SetConnected()
prometheus.IncrementParticipantRtcActive(1)
prometheus.IncrementParticipantRtcActive(1, isWarp)
ev := newParticipantEvent(livekit.AnalyticsEventType_PARTICIPANT_ACTIVE, room, participant)
ev.ClientMeta = clientMeta