Skip to content

Commit

Permalink
add CheckEnabled rpc (#512)
Browse files Browse the repository at this point in the history
* add CheckEnabled rpc

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
frostbyte73 and github-actions[bot] authored Nov 7, 2023
1 parent 6d38255 commit 9020450
Show file tree
Hide file tree
Showing 3 changed files with 214 additions and 29 deletions.
183 changes: 167 additions & 16 deletions rpc/agent.pb.go

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

10 changes: 10 additions & 0 deletions rpc/agent.proto
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,18 @@ import "options.proto";
import "livekit_agent.proto";

service AgentInternal {
rpc CheckEnabled(CheckEnabledRequest) returns (CheckEnabledResponse) {
option (psrpc.options).multi = true;
};
rpc JobRequest(livekit.Job) returns (google.protobuf.Empty) {
option (psrpc.options).affinity_func = true;
option (psrpc.options).topics = true;
};
}

message CheckEnabledRequest{}

message CheckEnabledResponse {
bool room_enabled = 1;
bool publisher_enabled = 2;
}
50 changes: 37 additions & 13 deletions rpc/agent.psrpc.go

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

0 comments on commit 9020450

Please sign in to comment.