mirror of
https://github.com/MercuryWorkshop/adrift.git
synced 2025-05-13 06:10:01 -04:00
set dataChannel binaryType
This commit is contained in:
parent
a43cf04780
commit
ae6c3061fa
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +97,7 @@ async function answerRtc(data: any, onrespond: (answer: any) => void) {
|
||||||
// res.json(answer);
|
// res.json(answer);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
dataChannel.binaryType = "arraybuffer";
|
||||||
|
|
||||||
let server: AdriftServer;
|
let server: AdriftServer;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue