Skip to content

twilio example: jittering/skip sound in the beginning of every word #1906

@lvsun

Description

@lvsun

Please read this first

  • Have you read the docs?Agents SDK docs -> yes
  • Have you searched for related issues? Others may have faced similar issues. -> yes

Describe the bug

using the default example "/examples/realtime/twilio", the returned voice always has a jittering/skip sound in the beginning of every word

Debug information

  • Agents SDK version: 0.3.3
  • Python version: 3.13.7

Repro steps

  1. download the example of twilio realtime in this repo: https://github.com/openai/openai-agents-python/tree/main/examples/realtime/twilio
  2. install dependencies
  3. start the server with uv run server.py and the ngrok according to the README.md file
  4. change the twilio webhook to the specific one
  5. call the twilio number
  6. voice returned always has a jittering/skip sound in the begining of every word

Expected behavior

no jittering/skip sound.

Notes

I also tested without this python agents-sdk, the voice has no such issue.
For comparison, I also used the openai-agents-js sdk's example, and its voice is clear as expected.

I found this issue during the implmentation of an voice agent, I thought it was my code issue, but then I tested the example here, it already has the same sound issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions