Skip to content

Commit

Permalink
protobuf
Browse files Browse the repository at this point in the history
  • Loading branch information
bcherry committed Sep 18, 2024
1 parent da4a630 commit d8e2f60
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions protobufs/livekit_models.proto
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,36 @@ message ChatMessage {
bool deleted = 5; // true to remove message
}

message RpcMessage {
string id = 1;
string sender_sid = 2;
string recipient_sid = 3;
string name = 4;
string data = 5;
bool expects_response = 6;
}

message RpcMessageAck {
string message_id = 1;
string sender_sid = 2;
string recipient_sid = 3;
}

message RpcMessageResponse {
string message_id = 1;
string sender_sid = 2;
string recipient_sid = 3;
string data = 4;
int32 error_code = 5; // 0 or null means no error. // 1001+ are reserved for LiveKit internal errors.
string error_data = 6;
}

message RpcMessageResponseAck {
string message_id = 1;
string sender_sid = 2;
string recipient_sid = 3;
}

enum ConnectionQuality {
POOR = 0;
GOOD = 1;
Expand Down

0 comments on commit d8e2f60

Please sign in to comment.