Hi LiveKit Team,
I have shared the room link for your reference. I am facing a critical issue where users trying to take the interview on a mobile device are not hearing the agent’s voice.
What is happening:
-
The chat transcript shows the agent is generating text responses correctly
-
However the agent voice is not being played on the user’s mobile device
-
The recording also has no agent voice — only silence on the agent’s side
This is only happening on mobile. Desktop users are not affected.
Could you please investigate this urgently and let me know the cause and fix as soon as possible? This is directly impacting our users in production.
Room Id : RM_rRpBgcdsQw69
Room Share Link : Sign in | LiveKit Cloud
Thank you
Vishal Maurya
TapTalent
So, this is mobile browser (not mobile SDK) and looking at that room, I see the participant is using Safari on iPhone.
Is it possible they are switching tasks, or have the browser in the background somehow? I see this existing GitHub issue is related: Safari background audio · Issue #1751 · livekit/client-sdk-js · GitHub
Also, this is relevant: Start Audio Button | LiveKit Documentation
On mobile, if audio isn’t explicitly “started” by interaction, the agent’s TTS track won’t play — and if playback never starts, recordings can also contain silence on the agent side.
1 Like
I have implemented your recommended approach using the useAudioPlayback hook, however the issue still persists.
What I Implemented: I added the AgentAudioGuard component using useAudioPlayback from @livekit/components-react as follows:
import { useAudioPlayback } from “@livekit/components-react”
export function AgentAudioGuard() {
const { canPlayAudio, startAudio } = useAudioPlayback()
const handleResumeAudio = () => {
startAudio().catch(() => {
console.error(“Failed to resume audio”)
toast(
ToastContent({
message: “Failed to resume audio, please try again”,
type: “danger”,
displayIcon:
})
)
})
}
if (canPlayAudio) return null
return (
Audio Paused
Your browser has paused the audio. Tap below to resume and
continue the interview.
Resume Audio
)
}
Observation: The AgentAudioGuard component is not being triggered in the UI at all, which means canPlayAudio is returning true — indicating that browser audio permissions are not the issue here.
Current Issue: Despite the agent successfully generating transcriptions, the agent’s voice is not being played in the browser. The transcription confirms the agent is responding, but no audio is heard on the client side.
Room Details:
Room ID: RM_WYX5MwqhGciN
Could you please investigate why the agent’s audio track is not being played on the browser even though transcription is working correctly?
I hadn’t realised you were also raising support tickets for these. Since this forum is ‘best-effort’ support, and you marked this issue as a ‘critical production issue’ then LiveKit support is the correct route (see this FAQ: Frequently Asked Questions (FAQ) - #7 by darryncampbell )
Looks like Jon is supporting you on ticket #48611 for this issue, so I’ll leave it with support.