diff --git a/protocol/userProxy.proto b/protocol/userProxy.proto index 7eb878e8224097273c1d81043a4ebc273dc65958..8ebe490958d38e339f742989a18dfe2c6aee9eeb 100644 --- a/protocol/userProxy.proto +++ b/protocol/userProxy.proto @@ -413,32 +413,38 @@ message SvipUpgrade { string group_id = 3; } -/* id == 152 用户进房 */ +/* id == 152 用户进房 上行 */ message EnterRoom { string group_id = 1; } -/* id == 153 用户离房 */ +/* id == 153 用户离房 上行 */ message LeaveRoom { string group_id = 1; } -/* id == 154 房间心跳 */ +/* id == 154 房间心跳 上行 */ message RoomHeartBeat { string group_id = 1; } -/* id == 155 麦位变化 */ +/* id == 155 麦位变化 下行 */ message GroupMicChange { - string group_id = 1; - uint32 i = 2; - bool lock = 3; - bool forbid = 4; - bool micForbid = 5; - string externalId = 6; - string agoraId = 7; - int64 timestamp = 8; - MicUserData user = 9; + string seqId = 1; + string group_id = 2; + uint32 i = 3; + bool lock = 4; + bool forbid = 5; + bool micForbid = 6; + string externalId = 7; + uint32 agoraId = 8; + int64 timestamp = 9; + MicUserData user = 10; +} + +/* id == 156 麦位变化确认 上行 */ +message GroupMicChangeRsp { + string seqId = 1; } message MicUserData { @@ -453,7 +459,7 @@ message MicUserData { string headwearPicUrl = 9; string headwearEffectUrl = 10; string headwearReverseEffectUrl = 11; - int32 svipLevel = 12; + uint32 svipLevel = 12; string micEffect = 14; string headwearIcon = 15; }