From cbdc31929212d1e3e69e2f6e72619b02241a0568 Mon Sep 17 00:00:00 2001 From: Jibon Date: Mon, 16 Sep 2024 17:30:29 +0200 Subject: [PATCH] option for bk room ended event --- plugnmeet/plugnmeet_nats_msg.pb.go | 73 +++++++++++++++------------- proto_files/plugnmeet_nats_msg.proto | 1 + 2 files changed, 40 insertions(+), 34 deletions(-) diff --git a/plugnmeet/plugnmeet_nats_msg.pb.go b/plugnmeet/plugnmeet_nats_msg.pb.go index 8b225ae..7484d02 100644 --- a/plugnmeet/plugnmeet_nats_msg.pb.go +++ b/plugnmeet/plugnmeet_nats_msg.pb.go @@ -38,6 +38,7 @@ const ( NatsMsgServerToClientEvents_POLL_CLOSED NatsMsgServerToClientEvents = 11 NatsMsgServerToClientEvents_POLL_CREATED NatsMsgServerToClientEvents = 12 NatsMsgServerToClientEvents_JOIN_BREAKOUT_ROOM NatsMsgServerToClientEvents = 13 + NatsMsgServerToClientEvents_BREAKOUT_ROOM_ENDED NatsMsgServerToClientEvents = 15 NatsMsgServerToClientEvents_SYSTEM_CHAT_MSG NatsMsgServerToClientEvents = 14 // mostly system message display in chat ) @@ -58,6 +59,7 @@ var ( 11: "POLL_CLOSED", 12: "POLL_CREATED", 13: "JOIN_BREAKOUT_ROOM", + 15: "BREAKOUT_ROOM_ENDED", 14: "SYSTEM_CHAT_MSG", } NatsMsgServerToClientEvents_value = map[string]int32{ @@ -75,6 +77,7 @@ var ( "POLL_CLOSED": 11, "POLL_CREATED": 12, "JOIN_BREAKOUT_ROOM": 13, + "BREAKOUT_ROOM_ENDED": 15, "SYSTEM_CHAT_MSG": 14, } ) @@ -1145,7 +1148,7 @@ var file_plugnmeet_nats_msg_proto_rawDesc = []byte{ 0x73, 0x61, 0x67, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x66, 0x72, 0x6f, 0x6d, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x74, 0x6f, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, - 0x69, 0x64, 0x2a, 0xf8, 0x02, 0x0a, 0x1b, 0x4e, 0x61, 0x74, 0x73, 0x4d, 0x73, 0x67, 0x53, 0x65, + 0x69, 0x64, 0x2a, 0x91, 0x03, 0x0a, 0x1b, 0x4e, 0x61, 0x74, 0x73, 0x4d, 0x73, 0x67, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x6f, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x14, 0x0a, 0x10, 0x52, 0x45, 0x53, 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x4a, 0x4f, 0x49, 0x4e, @@ -1167,39 +1170,41 @@ var file_plugnmeet_nats_msg_proto_rawDesc = []byte{ 0x0b, 0x50, 0x4f, 0x4c, 0x4c, 0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x4f, 0x4c, 0x4c, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45, 0x44, 0x10, 0x0c, 0x12, 0x16, 0x0a, 0x12, 0x4a, 0x4f, 0x49, 0x4e, 0x5f, 0x42, 0x52, 0x45, 0x41, 0x4b, 0x4f, 0x55, - 0x54, 0x5f, 0x52, 0x4f, 0x4f, 0x4d, 0x10, 0x0d, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x59, 0x53, 0x54, - 0x45, 0x4d, 0x5f, 0x43, 0x48, 0x41, 0x54, 0x5f, 0x4d, 0x53, 0x47, 0x10, 0x0e, 0x2a, 0xb6, 0x01, - 0x0a, 0x1b, 0x4e, 0x61, 0x74, 0x73, 0x4d, 0x73, 0x67, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, - 0x6f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x14, 0x0a, - 0x10, 0x52, 0x45, 0x51, 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x5f, 0x44, 0x41, 0x54, - 0x41, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x52, 0x45, 0x51, 0x5f, 0x52, 0x45, 0x4e, 0x45, 0x57, - 0x5f, 0x50, 0x4e, 0x4d, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, - 0x50, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x45, 0x51, 0x5f, 0x52, 0x41, - 0x49, 0x53, 0x45, 0x5f, 0x48, 0x41, 0x4e, 0x44, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x45, - 0x51, 0x5f, 0x4c, 0x4f, 0x57, 0x45, 0x52, 0x5f, 0x48, 0x41, 0x4e, 0x44, 0x10, 0x05, 0x12, 0x1d, - 0x0a, 0x19, 0x52, 0x45, 0x51, 0x5f, 0x4c, 0x4f, 0x57, 0x45, 0x52, 0x5f, 0x4f, 0x54, 0x48, 0x45, - 0x52, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x48, 0x41, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, - 0x13, 0x50, 0x55, 0x53, 0x48, 0x5f, 0x41, 0x4e, 0x41, 0x4c, 0x59, 0x54, 0x49, 0x43, 0x53, 0x5f, - 0x44, 0x41, 0x54, 0x41, 0x10, 0x07, 0x2a, 0x8a, 0x01, 0x0a, 0x1b, 0x4e, 0x61, 0x74, 0x73, 0x53, - 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x1d, 0x4e, 0x41, 0x54, 0x53, 0x5f, 0x53, - 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, - 0x4f, 0x4e, 0x5f, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x00, 0x12, 0x24, 0x0a, 0x20, 0x4e, 0x41, 0x54, - 0x53, 0x5f, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x49, 0x43, - 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, 0x41, 0x52, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, - 0x22, 0x0a, 0x1e, 0x4e, 0x41, 0x54, 0x53, 0x5f, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x4e, - 0x4f, 0x54, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, - 0x52, 0x10, 0x02, 0x42, 0x9e, 0x01, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6c, 0x75, 0x67, - 0x6e, 0x6d, 0x65, 0x65, 0x74, 0x42, 0x15, 0x50, 0x6c, 0x75, 0x67, 0x6e, 0x6d, 0x65, 0x65, 0x74, - 0x4e, 0x61, 0x74, 0x73, 0x4d, 0x73, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x32, - 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x79, 0x6e, 0x61, 0x70, - 0x61, 0x72, 0x72, 0x6f, 0x74, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x6e, 0x6d, 0x65, 0x65, 0x74, 0x2d, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x6e, 0x6d, 0x65, - 0x65, 0x74, 0xa2, 0x02, 0x03, 0x50, 0x58, 0x58, 0xaa, 0x02, 0x09, 0x50, 0x6c, 0x75, 0x67, 0x6e, - 0x6d, 0x65, 0x65, 0x74, 0xca, 0x02, 0x09, 0x50, 0x6c, 0x75, 0x67, 0x6e, 0x6d, 0x65, 0x65, 0x74, - 0xe2, 0x02, 0x15, 0x50, 0x6c, 0x75, 0x67, 0x6e, 0x6d, 0x65, 0x65, 0x74, 0x5c, 0x47, 0x50, 0x42, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x09, 0x50, 0x6c, 0x75, 0x67, 0x6e, - 0x6d, 0x65, 0x65, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x54, 0x5f, 0x52, 0x4f, 0x4f, 0x4d, 0x10, 0x0d, 0x12, 0x17, 0x0a, 0x13, 0x42, 0x52, 0x45, 0x41, + 0x4b, 0x4f, 0x55, 0x54, 0x5f, 0x52, 0x4f, 0x4f, 0x4d, 0x5f, 0x45, 0x4e, 0x44, 0x45, 0x44, 0x10, + 0x0f, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x43, 0x48, 0x41, 0x54, + 0x5f, 0x4d, 0x53, 0x47, 0x10, 0x0e, 0x2a, 0xb6, 0x01, 0x0a, 0x1b, 0x4e, 0x61, 0x74, 0x73, 0x4d, + 0x73, 0x67, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x14, 0x0a, 0x10, 0x52, 0x45, 0x51, 0x5f, 0x49, 0x4e, + 0x49, 0x54, 0x49, 0x41, 0x4c, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, + 0x52, 0x45, 0x51, 0x5f, 0x52, 0x45, 0x4e, 0x45, 0x57, 0x5f, 0x50, 0x4e, 0x4d, 0x5f, 0x54, 0x4f, + 0x4b, 0x45, 0x4e, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, + 0x12, 0x0a, 0x0e, 0x52, 0x45, 0x51, 0x5f, 0x52, 0x41, 0x49, 0x53, 0x45, 0x5f, 0x48, 0x41, 0x4e, + 0x44, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x45, 0x51, 0x5f, 0x4c, 0x4f, 0x57, 0x45, 0x52, + 0x5f, 0x48, 0x41, 0x4e, 0x44, 0x10, 0x05, 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x45, 0x51, 0x5f, 0x4c, + 0x4f, 0x57, 0x45, 0x52, 0x5f, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x5f, + 0x48, 0x41, 0x4e, 0x44, 0x10, 0x06, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x55, 0x53, 0x48, 0x5f, 0x41, + 0x4e, 0x41, 0x4c, 0x59, 0x54, 0x49, 0x43, 0x53, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x10, 0x07, 0x2a, + 0x8a, 0x01, 0x0a, 0x1b, 0x4e, 0x61, 0x74, 0x73, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x4e, 0x6f, + 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, + 0x21, 0x0a, 0x1d, 0x4e, 0x41, 0x54, 0x53, 0x5f, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x4e, + 0x4f, 0x54, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x49, 0x4e, 0x46, 0x4f, + 0x10, 0x00, 0x12, 0x24, 0x0a, 0x20, 0x4e, 0x41, 0x54, 0x53, 0x5f, 0x53, 0x59, 0x53, 0x54, 0x45, + 0x4d, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x57, + 0x41, 0x52, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x22, 0x0a, 0x1e, 0x4e, 0x41, 0x54, 0x53, + 0x5f, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x49, 0x43, 0x41, + 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x42, 0x9e, 0x01, 0x0a, + 0x0d, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x6e, 0x6d, 0x65, 0x65, 0x74, 0x42, 0x15, + 0x50, 0x6c, 0x75, 0x67, 0x6e, 0x6d, 0x65, 0x65, 0x74, 0x4e, 0x61, 0x74, 0x73, 0x4d, 0x73, 0x67, + 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x32, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x79, 0x6e, 0x61, 0x70, 0x61, 0x72, 0x72, 0x6f, 0x74, 0x2f, 0x70, + 0x6c, 0x75, 0x67, 0x6e, 0x6d, 0x65, 0x65, 0x74, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, + 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x6e, 0x6d, 0x65, 0x65, 0x74, 0xa2, 0x02, 0x03, 0x50, 0x58, + 0x58, 0xaa, 0x02, 0x09, 0x50, 0x6c, 0x75, 0x67, 0x6e, 0x6d, 0x65, 0x65, 0x74, 0xca, 0x02, 0x09, + 0x50, 0x6c, 0x75, 0x67, 0x6e, 0x6d, 0x65, 0x65, 0x74, 0xe2, 0x02, 0x15, 0x50, 0x6c, 0x75, 0x67, + 0x6e, 0x6d, 0x65, 0x65, 0x74, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0xea, 0x02, 0x09, 0x50, 0x6c, 0x75, 0x67, 0x6e, 0x6d, 0x65, 0x65, 0x74, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/proto_files/plugnmeet_nats_msg.proto b/proto_files/plugnmeet_nats_msg.proto index b04c79e..51a707c 100644 --- a/proto_files/plugnmeet_nats_msg.proto +++ b/proto_files/plugnmeet_nats_msg.proto @@ -33,6 +33,7 @@ enum NatsMsgServerToClientEvents { POLL_CLOSED = 11; POLL_CREATED = 12; JOIN_BREAKOUT_ROOM = 13; + BREAKOUT_ROOM_ENDED = 15; SYSTEM_CHAT_MSG = 14; // mostly system message display in chat //next ID: 15