joewalnes/reconnecting-websocket

Binary Type of ArrayBuffer does not transfer correctly

Opened this issue · 1 comments

I setup the whiteboard project using websockets based on this url: https://blogs.oracle.com/arungupta/entry/collaborative_whiteboard_using_websocket_in

Within the text at this url is the following
"The important part is to set the binaryType property of WebSocket to arraybuffer. This ensures that any binary transfers using WebSocket are done using ArrayBuffer as the default type seems to be blob. "

This binary type will not transfer from one client to another client.
The sending client logs:
sending binary: [object ArrayBuffer]
and the receiving client logs:
received: [object Blob]
This works without using the reconnect classes
Thanks
Tom

I think this is fixed by #58