Commit 7d2b9878 authored by hujiebin's avatar hujiebin

麦位变化确认

parent 32754c1f
......@@ -72,6 +72,7 @@ const (
MsgTypeEnterRoom = 152 // 用户进房
MsgTypeLeaveRoom = 153 // 用户离房
MsgTypeRoomHeartbeat = 154 // 房间心跳
MsgTypeGroupMicChangeRsp = 156 // 麦位变化确认
)
const (
......
......@@ -253,6 +253,8 @@ func serverWebsocket(w http.ResponseWriter, r *http.Request) {
if err := processRoomHeartbeat(logger, ci.Uid, pbData); err != nil {
logger.Errorf("processRoomHeartbeat fail:%v", err)
}
} else if msgType == common.MsgTypeGroupMicChangeRsp {
logger.Infof("common.MsgTypeGroupMicChangeRsp arrive")
} else {
logger.Warnf("Unknown message type %d", msgType)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment