Hello folks - is anyone seeing `error decoding aud...
# agents
p
Hello folks - is anyone seeing
error decoding audio
in the latest version of the agents framework
livekit-agents==1.2.17
?
Copy code
{
  "message": "error decoding audio\nTraceback (most recent call last):\n  File \"/usr/local/lib/python3.11/site-packages/livekit/agents/utils/codecs/decoder.py\", line 173, in _decode_loop\n    container = av.open(\n                ^^^^^^^^\n  File \"av/container/core.pyx\", line 418, in av.container.core.open\n  File \"av/container/core.pyx\", line 283, in av.container.core.Container.__cinit__\n  File \"av/container/core.pyx\", line 303, in av.container.core.Container.err_check\n  File \"av/error.pyx\", line 424, in av.error.err_check\nav.error.InvalidDataError: [Errno 1094995529] Invalid data found when processing input: 'none'",
  "level": "ERROR",
  "name": "livekit.agents",
  "pid": 7534,
  "job_id": "AJ_Qc7vsqE4NrhH",
  "timestamp": "2025-11-10T16:00:56.060460+00:00"
}
Raised an issue as a question - https://github.com/livekit/agents/issues/3863
c
Would like to confirm that this is also happening in 1.2.18 on occassion.
r
It's also happening to me in 1.2.17 with Google TTS in streaming mode, with OPUS codec
btw, anybody knows why is livekit trying to transcode from OPUS? Isn't OPUS the default codec for audio inside livekit?
d
Facing the same issue. Did anyone figure it out?