github.com/livekit/protocol@v1.16.1-0.20240517185851-47e4c6bba773/protobufs/livekit_webhook.proto (about) 1 // Copyright 2023 LiveKit, Inc. 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 syntax = "proto3"; 16 17 package livekit; 18 option go_package = "github.com/livekit/protocol/livekit"; 19 option csharp_namespace = "LiveKit.Proto"; 20 option ruby_package = "LiveKit::Proto"; 21 22 import "livekit_models.proto"; 23 import "livekit_egress.proto"; 24 import "livekit_ingress.proto"; 25 26 message WebhookEvent { 27 // one of room_started, room_finished, participant_joined, participant_left, 28 // track_published, track_unpublished, egress_started, egress_updated, egress_ended, 29 // ingress_started, ingress_ended 30 string event = 1; 31 32 Room room = 2; 33 34 // set when event is participant_* or track_* 35 ParticipantInfo participant = 3; 36 37 // set when event is egress_* 38 EgressInfo egress_info = 9; 39 40 // set when event is ingress_* 41 IngressInfo ingress_info = 10; 42 43 // set when event is track_* 44 TrackInfo track = 8; 45 46 // unique event uuid 47 string id = 6; 48 49 // timestamp in seconds 50 int64 created_at = 7; 51 52 int32 num_dropped = 11; 53 54 // NEXT_ID: 12 55 }