github.com/whoyao/protocol@v0.0.0-20230519045905-2d8ace718ca5/rpc/ingress.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_ingress.proto"; 9 import "google/protobuf/empty.proto"; 10 11 service IngressInternal { 12 rpc ListActiveIngress(ListActiveIngressRequest) returns (ListActiveIngressResponse) { 13 option (psrpc.options).multi = true; 14 }; 15 } 16 17 service IngressHandler { 18 rpc UpdateIngress(livekit.UpdateIngressRequest) returns (livekit.IngressState) { 19 option (psrpc.options).topics = true; 20 }; 21 rpc DeleteIngress(livekit.DeleteIngressRequest) returns (livekit.IngressState) { 22 option (psrpc.options).topics = true; 23 }; 24 rpc DeleteWHIPResource(DeleteWHIPResourceRequest) returns (google.protobuf.Empty) { 25 option (psrpc.options).topics = true; 26 }; 27 } 28 29 message ListActiveIngressRequest {} 30 31 message ListActiveIngressResponse { 32 repeated string ingress_ids = 1; 33 } 34 35 message DeleteWHIPResourceRequest { 36 string resource_id = 1; 37 }