Implement joining a room and sending updates after people join/leave
This commit is contained in:
parent
4a9bf8f4fe
commit
55b095cbd3
7 changed files with 211 additions and 71 deletions
|
@ -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 {
|
||||
|
|
|
@ -84,12 +84,14 @@ messages!(
|
|||
(BufferReloaded, Foreground),
|
||||
(BufferSaved, Foreground),
|
||||
(Call, Foreground),
|
||||
(CancelCall, Foreground),
|
||||
(ChannelMessageSent, Foreground),
|
||||
(CopyProjectEntry, Foreground),
|
||||
(CreateBufferForPeer, Foreground),
|
||||
(CreateProjectEntry, Foreground),
|
||||
(CreateRoom, Foreground),
|
||||
(CreateRoomResponse, Foreground),
|
||||
(DeclineCall, Foreground),
|
||||
(DeleteProjectEntry, Foreground),
|
||||
(Error, Foreground),
|
||||
(Follow, Foreground),
|
||||
|
@ -186,6 +188,7 @@ request_messages!(
|
|||
(CopyProjectEntry, ProjectEntryResponse),
|
||||
(CreateProjectEntry, ProjectEntryResponse),
|
||||
(CreateRoom, CreateRoomResponse),
|
||||
(DeclineCall, Ack),
|
||||
(DeleteProjectEntry, ProjectEntryResponse),
|
||||
(Follow, FollowResponse),
|
||||
(FormatBuffers, FormatBuffersResponse),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue