Fix LiveKit Audio Routing Bug

Job ID: 40333468

Budget: ₹1,500 – ₹12,500 INR

LiveKit Expert Needed # ONLY FREELANCERS

I have built a voice conferencing app using a self-hosted LiveKit setup, and I’m currently facing a few issues that need to be resolved:

Microphone Issue
When I turn on the mic, the voice works fine initially. However, after toggling the mic on/off multiple times, the audio sometimes stops transmitting to the other user.

Audio Output Issue (Walkie-Talkie Behavior)
This is a walkie-talkie-style app where audio should play through the speaker. However, on some Android devices, the audio is routed to the earpiece instead of the speaker.

Recording (Egress Testing)
I have implemented recording using LiveKit Egress, which is working fine so far. However, I would like an expert to review and test it thoroughly for any potential issues or edge cases.