fix: set binaryType
This commit is contained in:
parent
11a033b3f7
commit
d1ce4a1ae0
|
@ -73,6 +73,7 @@ export async function subscribeToEntry(
|
||||||
const wsUrl = url.replace(/^http/, "ws");
|
const wsUrl = url.replace(/^http/, "ws");
|
||||||
|
|
||||||
const socket = new WS(wsUrl);
|
const socket = new WS(wsUrl);
|
||||||
|
socket.binaryType = "arraybuffer";
|
||||||
|
|
||||||
socket.addEventListener("open", () => {
|
socket.addEventListener("open", () => {
|
||||||
const packer = new Packer();
|
const packer = new Packer();
|
||||||
|
|
Loading…
Reference in New Issue