enable explicit reconnect to distinguish between WS disconnect vs PeerConnection disconnect

This commit is contained in:
David Zhao
2021-01-30 23:16:11 -08:00
parent 2cf2c448be
commit 320a6c35bf
9 changed files with 87 additions and 69 deletions
+2 -11
View File
@@ -42,21 +42,12 @@ message SignalNodeMessage {
}
}
//message RouterMessage {
// oneof message {
// StartSession start_session = 1;
// SignalRequest request = 2;
// SignalResponse response = 3;
// EndSession end_session = 4;
// }
// // empty for start session
// string participant_key = 5;
//}
message StartSession {
string room_name = 1;
string identity = 2;
string connection_id = 3;
// if a client is reconnecting (i.e. resume instead of restart)
bool reconnect = 4;
}
message EndSession {