diff --git a/app/components/App.tsx b/app/components/App.tsx index 89a9a4ef..aa71a272 100644 --- a/app/components/App.tsx +++ b/app/components/App.tsx @@ -47,7 +47,11 @@ const App: () => JSX.Element = () => { if (!connection) return; const onData = (e: BlobEvent) => { - connection?.send(e.data); + // iOS SAFARI FIX: + // Prevent packetZero from being sent. If sent at size 0, the connection will close. + if (e.data.size > 0) { + connection?.send(e.data); + } }; const onTranscript = (data: LiveTranscriptionEvent) => {