18 lines
332 B
Protocol Buffer
18 lines
332 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package livekit;
|
|
option go_package = "github.com/livekit/livekit-server/proto";
|
|
|
|
// internal types, declaring in proto to get serialization for free
|
|
|
|
message Node {
|
|
string id = 1;
|
|
string ip = 2;
|
|
int32 port = 3;
|
|
NodeStats stats = 4;
|
|
}
|
|
|
|
message NodeStats {
|
|
int32 num_rooms = 1;
|
|
int32 num_clients = 2;
|
|
} |