Skip to content

Add track published/unpublished webhooks #89

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 31 additions & 17 deletions livekit/livekit_webhook.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions livekit_webhook.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,21 @@ import "livekit_models.proto";
import "livekit_recording.proto";

message WebhookEvent {
// one of room_started, room_finished, participant_joined, participant_left, recording_started, recording_finished
// one of room_started, room_finished, participant_joined, participant_left, recording_started, recording_finished,
// track_published, track_unpublished
string event = 1;

Room room = 2;

// set when event is participant_*
// set when event is participant_* or track_*
ParticipantInfo participant = 3;

// set when event is recording_*
RecordingInfo recording_info = 5;

// set when event is track_*
TrackInfo track = 8;

// unique event uuid
string id = 6;

Expand Down