Skip to content

Commit

Permalink
Add KillIngressSession
Browse files Browse the repository at this point in the history
  • Loading branch information
biglittlebigben committed Jun 12, 2024
1 parent fcde125 commit eba7c0e
Show file tree
Hide file tree
Showing 25 changed files with 424 additions and 218 deletions.
4 changes: 2 additions & 2 deletions infra/link.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 8 additions & 10 deletions infra/link_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions livekit/livekit_agent.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions livekit/livekit_analytics.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions livekit/livekit_egress.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions livekit/livekit_ingress.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions livekit/livekit_internal.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions livekit/livekit_models.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions livekit/livekit_room.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions livekit/livekit_rtc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions livekit/livekit_sip.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions livekit/livekit_webhook.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 22 additions & 1 deletion protobufs/rpc/ingress.proto
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,16 @@ service IngressInternal {
option (psrpc.options).multi = true;
option (psrpc.options).topics = true;
};

rpc KillIngressSession(KillIngressSessionRequest) returns (google.protobuf.Empty) {
option (psrpc.options) = {
topics: true
topic_params: {
names: ["ingress_id", "resource_id"]
typed: false
}
};
};
}

service IngressHandler {
Expand All @@ -52,7 +62,8 @@ service IngressHandler {
message ListActiveIngressRequest {}

message ListActiveIngressResponse {
repeated string ingress_ids = 1;
repeated string ingress_ids = 1 [deprecated = true];
repeated IngressSession ingress_sessions = 2;
}

message DeleteWHIPResourceRequest {
Expand All @@ -78,3 +89,13 @@ message StartIngressRequest {
string ws_url = 3;
map<string,string> logging_fields = 4;
}

message IngressSession {
string ingress_id = 1;
string resource_id = 2;
}

message KillIngressSessionRequest {
IngressSession session = 1;
}

4 changes: 2 additions & 2 deletions rpc/agent.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions rpc/analytics.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 13 additions & 16 deletions rpc/analytics_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions rpc/egress.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit eba7c0e

Please sign in to comment.