Skip to content

Commit

Permalink
Start/StopAgentJob, Job status
Browse files Browse the repository at this point in the history
  • Loading branch information
biglittlebigben committed May 16, 2024
1 parent dddd8d0 commit e7256b7
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions protobufs/livekit_agent.proto
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,23 @@ option ruby_package = "LiveKit::Proto";

import "livekit_models.proto";

service AgentService {
rpc StartAgentJob(StartAgentJobRequest) returns (Job);
rpc StopAgentJob(StopAgentJobRequest) returns (Job);
}

message StartAgentJobRequest {
JobType type = 1;
Room room = 2;
optional ParticipantInfo participant = 3;
string namespace = 4;
map<string, string> metadata = 5;
}

message StopAgentJobRequest {
string id = 1;
}

message WorkerInfo {
string id = 1;
string namespace = 2;
Expand All @@ -43,6 +60,8 @@ message Job {
optional ParticipantInfo participant = 4;
string namespace = 5;
map<string, string> metadata = 6;
JobStatus status = 7;
string error = 8;
}

// from Worker to Server
Expand Down

0 comments on commit e7256b7

Please sign in to comment.