Fix WebRTC (aiortc) Media Stream connection
Budget: £10 – £15 GBP
Wider context:
I am building a POC of a system where a user comes to my web app. It connects to my backend with WebRTC, and starts streaming speech both ways. In the backend I will do audio transcription and generation + logic of a chatbot.
Current problem:
My backend WebRTC receives audio fine, but is unable to send audio to the browser. The transceiver.sender track just disappears. I've been debugging now for hours and would need some fresh ideas.
Tech stack:
frontend: Vanilla JS
backend: Python with aiortc
The codebase is small. Main backend is just over 200 lines and frontend just over 100 lines.
Expected output:
ideas on how to change my implementation to get it to work, or ideally code changes that will work
I am building a POC of a system where a user comes to my web app. It connects to my backend with WebRTC, and starts streaming speech both ways. In the backend I will do audio transcription and generation + logic of a chatbot.
Current problem:
My backend WebRTC receives audio fine, but is unable to send audio to the browser. The transceiver.sender track just disappears. I've been debugging now for hours and would need some fresh ideas.
Tech stack:
frontend: Vanilla JS
backend: Python with aiortc
The codebase is small. Main backend is just over 200 lines and frontend just over 100 lines.
Expected output:
ideas on how to change my implementation to get it to work, or ideally code changes that will work