diff --git a/server/src/main.ts b/server/src/main.ts index fe0d5a6..c87cd91 100644 --- a/server/src/main.ts +++ b/server/src/main.ts @@ -97,6 +97,7 @@ async function answerRtc(data: any, onrespond: (answer: any) => void) { // res.json(answer); } }); + dataChannel.binaryType = "arraybuffer"; let server: AdriftServer;