You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to send an image as part of an object from a web browser, the image is stored in a Uint8Array, but it is encoded to a map, the code is as follows:
var msg = new Object;
msg.op = 'image';
var ia = new Uint8Array(arraybuffer);
msg.image = ia;
var buffer = msgpack.encode(msg);
websocket.send(buffer)
Is there any way to do this, thanks in advance.
The text was updated successfully, but these errors were encountered:
@kawanet I am using MessagePack for Qt on the server side and I am receiving code 0x83 that corresponds to the map instead of receiving a bin8 - 0xc4, bin16 - 0xc5, or bin32 - 0xc6 code.
I am trying to send an image as part of an object from a web browser, the image is stored in a Uint8Array, but it is encoded to a map, the code is as follows:
Is there any way to do this, thanks in advance.
The text was updated successfully, but these errors were encountered: