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

     1  syntax = "proto3";
     2  
     3  package rpc;
     4  
     5  option go_package = "github.com/livekit/livekit/pkg/service/rpc";
     6  
     7  import "options.proto";
     8  import "livekit_internal.proto";
     9  import "livekit_rtc.proto";
    10  
    11  service Signal {
    12    rpc RelaySignal(rpc.RelaySignalRequest) returns (rpc.RelaySignalResponse) {
    13      option (psrpc.options) = {
    14        stream: true
    15        topics: true
    16        topic_params: {
    17          names: ["node_id"]
    18          typed: true
    19          single_server: true
    20        };
    21      };
    22    };
    23  }
    24  
    25  message RelaySignalRequest {
    26    livekit.StartSession start_session = 1;
    27    repeated livekit.SignalRequest requests = 3;
    28    uint64 seq = 4;
    29    bool close = 5;
    30  }
    31  
    32  message RelaySignalResponse {
    33    repeated livekit.SignalResponse responses = 2;
    34    uint64 seq = 3;
    35    bool close = 4;
    36  }