Skip to content

Commit bf3c1f9

Browse files
committed
Merge remote-tracking branch 'origin/main' into worker-live
2 parents 299debd + 236ffc7 commit bf3c1f9

File tree

6 files changed

+28
-16
lines changed

6 files changed

+28
-16
lines changed

.changeset/famous-rivers-repeat.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@livekit/protocol": patch
3+
"github.com/livekit/protocol": patch
4+
---
5+
6+
Add webhook for aborted participant connection.

livekit/livekit_analytics.pb.go

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

livekit/livekit_webhook.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protobufs/livekit_analytics.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ enum AnalyticsEventType {
8888
ROOM_ENDED = 1;
8989
PARTICIPANT_JOINED = 2;
9090
PARTICIPANT_LEFT = 3;
91+
PARTICIPANT_CONNECTION_ABORTED = 45;
9192
TRACK_PUBLISHED = 4;
9293
TRACK_PUBLISH_REQUESTED = 20;
9394
TRACK_UNPUBLISHED = 5;
@@ -128,7 +129,7 @@ enum AnalyticsEventType {
128129
API_CALL = 41;
129130
WEBHOOK = 42;
130131

131-
// NEXT_ID: 45
132+
// NEXT_ID: 46
132133
}
133134

134135
message AnalyticsClientMeta {

protobufs/livekit_webhook.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import "livekit_egress.proto";
2424
import "livekit_ingress.proto";
2525

2626
message WebhookEvent {
27-
// one of room_started, room_finished, participant_joined, participant_left,
27+
// one of room_started, room_finished, participant_joined, participant_left, participant_connection_aborted,
2828
// track_published, track_unpublished, egress_started, egress_updated, egress_ended,
2929
// ingress_started, ingress_ended
3030
string event = 1;

webhook/consts.go

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,16 @@ var (
2525
const authHeader = "Authorization"
2626

2727
const (
28-
EventRoomStarted = "room_started"
29-
EventRoomFinished = "room_finished"
30-
EventParticipantJoined = "participant_joined"
31-
EventParticipantLeft = "participant_left"
32-
EventTrackPublished = "track_published"
33-
EventTrackUnpublished = "track_unpublished"
34-
EventEgressStarted = "egress_started"
35-
EventEgressUpdated = "egress_updated"
36-
EventEgressEnded = "egress_ended"
37-
EventIngressStarted = "ingress_started"
38-
EventIngressEnded = "ingress_ended"
28+
EventRoomStarted = "room_started"
29+
EventRoomFinished = "room_finished"
30+
EventParticipantJoined = "participant_joined"
31+
EventParticipantLeft = "participant_left"
32+
EventParticipantConnectionAborted = "participant_connection_aborted"
33+
EventTrackPublished = "track_published"
34+
EventTrackUnpublished = "track_unpublished"
35+
EventEgressStarted = "egress_started"
36+
EventEgressUpdated = "egress_updated"
37+
EventEgressEnded = "egress_ended"
38+
EventIngressStarted = "ingress_started"
39+
EventIngressEnded = "ingress_ended"
3940
)

0 commit comments

Comments
 (0)