decouple websocket and RTC nodes, prep for distributed

This commit is contained in:
David Zhao
2021-01-16 10:37:38 -08:00
parent 9a10a57b30
commit 9064f6ade1
61 changed files with 2683 additions and 1361 deletions
+1 -8
View File
@@ -6,7 +6,7 @@ option go_package = "github.com/livekit/livekit-server/proto/livekit";
message Node {
string id = 1;
string ip = 2;
uint32 rtc_port = 3;
uint32 num_cpus = 3;
NodeStats stats = 4;
}
@@ -24,13 +24,6 @@ message Room {
int64 creation_time = 5;
}
message RoomInfo {
string sid = 1;
string name = 2;
string node_ip = 3;
int64 creation_time = 4;
}
message ParticipantInfo {
enum State {
// websocket' connected, but not offered yet