github.com/whoyao/protocol@v0.0.0-20230519045905-2d8ace718ca5/livekit_webhook.proto (about)

     1  syntax = "proto3";
     2  
     3  package livekit;
     4  option go_package = "github.com/livekit/protocol/livekit";
     5  option csharp_namespace = "LiveKit.Proto";
     6  option ruby_package = "LiveKit::Proto";
     7  
     8  import "livekit_models.proto";
     9  import "livekit_egress.proto";
    10  import "livekit_ingress.proto";
    11  
    12  message WebhookEvent {
    13    // one of room_started, room_finished, participant_joined, participant_left,
    14    // track_published, track_unpublished, egress_started, egress_updated, egress_ended,
    15    // ingress_started, ingress_ended
    16    string event = 1;
    17  
    18    Room room = 2;
    19  
    20    // set when event is participant_* or track_*
    21    ParticipantInfo participant = 3;
    22  
    23    // set when event is egress_*
    24    EgressInfo egress_info = 9;
    25  
    26    // set when event is ingress_*
    27    IngressInfo ingress_info = 10;
    28  
    29    // set when event is track_*
    30    TrackInfo track = 8;
    31  
    32    // unique event uuid
    33    string id = 6;
    34  
    35    // timestamp in seconds
    36    int64 created_at = 7;
    37  
    38    int32 num_dropped = 11;
    39  
    40    // NEXT_ID: 12
    41  }