narrow-telephone-38303
10/24/2025, 8:06 AMsilence detected on local audio track
Object
enabled: true
kind: "audio"
muted: false
pID: "PA_UXXX"
participant: "1269de4a-c74d-4e5xxxxxxxx"
room: "ea36xxxxxxcdxxxxxxx"
roomID: "RM_aJ58bxxxxxx"
source: "microphone"
streamID: "1929bxxxxxx1"
streamTrackID: "1929xxxxxxx72370661"
trackID: "Txxxxxx4QE"
The permissions are enabled but still not working.
The agent seems to be not listening. There is no noise cancellation software i am using for now.
It was working few days back. Nothing changed in code.tall-airline-16756
10/24/2025, 8:06 AMtall-airline-16756
10/24/2025, 8:07 AMdetectSilence() function. For example, try detectSilence(track, 1000) to give the system a little more time to pick up audio.
• Encourage the user to speak shortly after publishing their track, which helps avoid these false alarms.
• Make sure to handle the RoomEvent.LocalAudioSilenceDetected event so you can gently notify users if there might be an issue.
Often, if the audio works fine after this warning, it’s just a false positive and nothing to worry about. If you'd like, I’m here to help you implement these suggestions or answer any other questions you might have. Just let me know!
Sources: Understanding "silence detected on local audio track" warning | src/connectionHelper/checks/publishAudio.tsnarrow-telephone-38303
10/24/2025, 8:12 AMtall-airline-16756
10/24/2025, 8:12 AMAVAudioSession isn’t set up just right, or if frameworks like CallKit interfere, audio can get disrupted. Double-checking the session category and mode can make a big difference.
• Plugin Conflicts: Some background service plugins, like flutter_background_service, might interfere with audio processing. It’s a good idea to see if any such plugins are running.
• Buffering Issues: Glitches can happen if internal audio buffer settings aren’t optimal or if voice processing toggles during runtime. Ensuring a steady stream of audio data usually helps.
To help you better, could you please share a bit more?
• Are you using any third-party plugins or frameworks that might affect audio?
• Have you made any customizations to the AVAudioSession configuration?
• Does this issue happen on all iOS devices you’ve tried, or just specific ones?
I’m here to support you, so feel free to let me know, and we’ll work through this together.
Sources: Understanding "silence detected on local audio track" warning | Operational Guidance & Best Practices | livekit/livekit_composite | DeepWik... | [Flutter iOS] SoundWaveformWidget / AudioVisualizerWidget Not Working (Miss... | Tests/LiveKitAudioTests/AudioEngineTests.swift | livekit-agents/livekit/agents/voice/background_audio.pynarrow-telephone-38303
10/24/2025, 8:14 AMtall-airline-16756
10/24/2025, 8:15 AMnarrow-telephone-38303
10/24/2025, 8:17 AMtall-airline-16756
10/24/2025, 8:19 AMAVAudioSession settings can also lead to these kinds of issues. Ensuring proper configuration or disabling automatic session management might make a difference.
To better assist you, could you please confirm a few things for me?
• Are you currently using pre-connect buffering?
• What does your RPC implementation pattern look like when toggling audio input?
• Are there any audio processing filters or delegates in use?
• Does the issue happen right after the RPC call, or is there a delay?
• Are you managing the AVAudioSession manually, or is the SDK handling it for you?
These details will really help us pinpoint the root cause and guide you more effectively. Looking forward to your response!