Implement joining a room and sending updates after people join/leave

This commit is contained in:
Antonio Scandurra 2022-09-26 10:34:26 +02:00
parent 4a9bf8f4fe
commit 55b095cbd3
7 changed files with 211 additions and 71 deletions

View file

@ -17,7 +17,8 @@ message Envelope {
JoinRoomResponse join_room_response = 11;
Call call = 12;
IncomingCall incoming_call = 1000;
RespondToCall respond_to_call = 13;
CancelCall cancel_call = 1001;
DeclineCall decline_call = 13;
RoomUpdated room_updated = 14;
RegisterProject register_project = 15;
@ -184,9 +185,10 @@ message IncomingCall {
repeated uint64 participant_user_ids = 3;
}
message RespondToCall {
message CancelCall {}
message DeclineCall {
uint64 room_id = 1;
bool accept = 2;
}
message RoomUpdated {