Skip to content
Open
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
7 changes: 7 additions & 0 deletions protobufs/rpc/io.proto
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ service IOInfo {

// ingress
rpc CreateIngress(livekit.IngressInfo) returns (google.protobuf.Empty);
// CreateIngress2 creates the ingress and returns the stored record .
// It will return existed record directly if the id is already there.
rpc CreateIngress2(livekit.IngressInfo) returns (CreateIngress2Response);
rpc GetIngressInfo(GetIngressInfoRequest) returns (GetIngressInfoResponse);
rpc UpdateIngressState(UpdateIngressStateRequest) returns (google.protobuf.Empty);

Expand Down Expand Up @@ -68,6 +71,10 @@ message UpdateMetricsRequest {
float max_cpu_usage = 4;
}

message CreateIngress2Response {
livekit.IngressInfo info = 1;
}

// Query an ingress info from an ingress ID or stream key
message GetIngressInfoRequest {
string ingress_id = 1 [(logger.name) = "ingressID"];
Expand Down
Loading
Loading