set dataChannel binaryType

This commit is contained in:
Spencer Pogorzelski 2023-08-14 10:48:20 -07:00
parent a43cf04780
commit ae6c3061fa

View file

@ -97,6 +97,7 @@ async function answerRtc(data: any, onrespond: (answer: any) => void) {
// res.json(answer);
}
});
dataChannel.binaryType = "arraybuffer";
let server: AdriftServer;