fix
This commit is contained in:
parent
7f9edcca2e
commit
c692d74442
|
@ -61,6 +61,7 @@ func (w *wsConnectItem) renderImage() {
|
|||
|
||||
// 消费渲染缓冲数据
|
||||
func (w *wsConnectItem) consumeRenderCache(data []byte) {
|
||||
logx.Info("消费渲染数据:", string(data))
|
||||
var renderImageData websocket_data.RenderImageReqMsg
|
||||
if err := json.Unmarshal(data, &renderImageData); err != nil {
|
||||
w.sendToOutChan(w.respondDataFormat(constants.WEBSOCKET_ERR_DATA_FORMAT, "invalid format of websocket render image message:"+string(data)))
|
||||
|
|
Loading…
Reference in New Issue
Block a user