diff --git a/server/src/rtc.ts b/server/src/rtc.ts index b606283..e124fb7 100644 --- a/server/src/rtc.ts +++ b/server/src/rtc.ts @@ -96,7 +96,7 @@ export async function answerRtc(data: any, onrespond: (answer: any) => void) { server.onMsg(bufferToArrayBuffer(event.data)); return; } - throw new Error("Unexpected datachannel message type"); + // ignore text and other types of messages }; } }