redis based router & roomstore

This commit is contained in:
David Zhao
2021-01-17 00:12:05 -08:00
parent 9064f6ade1
commit 30e99e8c6b
28 changed files with 1559 additions and 404 deletions
+38
View File
@@ -0,0 +1,38 @@
syntax = "proto3";
package livekit;
option go_package = "github.com/livekit/livekit-server/proto/livekit";
// internal protos, not exposed to clients
import "rtc.proto";
message Node {
string id = 1;
string ip = 2;
uint32 num_cpus = 3;
NodeStats stats = 4;
}
message NodeStats {
int32 num_rooms = 1;
int32 num_clients = 2;
}
// message for a node through the router
message RouterMessage {
oneof message {
StartSession start_session = 1;
SignalRequest request = 2;
SignalResponse response = 3;
EndSession end_session = 4;
}
string participant_id = 5;
}
message StartSession {
string room_name = 1;
string participant_name = 2;
}
message EndSession {
}