Skip to content

Commit

Permalink
add participant job type (#981)
Browse files Browse the repository at this point in the history
* add participant job type

* internal rpc

* generated protobuf

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
paulwe and github-actions[bot] authored Feb 18, 2025
1 parent 9b6e5d7 commit 1a019aa
Show file tree
Hide file tree
Showing 6 changed files with 137 additions and 117 deletions.
42 changes: 23 additions & 19 deletions livekit/livekit_agent.pb.go

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

1 change: 1 addition & 0 deletions protobufs/livekit_agent.proto
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ message ServerMessage {
enum JobType {
JT_ROOM = 0;
JT_PUBLISHER = 1;
JT_PARTICIPANT = 2;
}

enum WorkerStatus {
Expand Down
3 changes: 3 additions & 0 deletions protobufs/rpc/agent.proto
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,11 @@ message CheckEnabledRequest{}
message CheckEnabledResponse {
bool room_enabled = 1;
bool publisher_enabled = 2;
bool participant_enabled = 5;
repeated string namespaces = 3 [deprecated = true];
repeated string agent_names = 4;

// NEXT ID: 6
}

message JobRequestResponse {
Expand Down
22 changes: 11 additions & 11 deletions replay/cloud_replay.pb.go

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

115 changes: 63 additions & 52 deletions rpc/agent.pb.go

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

Loading

0 comments on commit 1a019aa

Please sign in to comment.