refactoring, enabling sending out room updates

This commit is contained in:
David Zhao
2020-12-01 23:32:15 -08:00
parent 0c99163253
commit a6c4db2cb3
12 changed files with 480 additions and 248 deletions
+13 -2
View File
@@ -45,10 +45,21 @@ message ParticipantInfo {
string id = 1;
string name = 2;
State state = 3;
bool has_audio = 4;
bool has_video = 5;
}
// describing
message TrackInfo {
enum Type {
AUDIO = 0;
VIDEO = 1;
DATA = 2;
}
string id = 1;
Type type = 2;
string name = 3;
}
message DataChannel {
string session_id = 1;
bytes payload = 2;