Skip to content

Voice input transcription failing in realtime-demo #494

@vagoel

Description

@vagoel

Describe the bug

After running the realtime-demo, I am logging all events in the console and noticed an issue with voice input transcription.

https://github.com/openai/openai-agents-js/tree/main/examples/realtime-demo

Expected Behavior

When providing voice input, I should receive:

  • Voice output (working ✅)
  • Transcribed text for voice output (working ✅)
  • Transcribed text for my voice input (failing ❌)

Current Behavior

  • Voice output is working correctly
  • Transcribed text for voice output is working correctly
  • Transcribed text for my voice input is failing

Steps to Reproduce

  1. Run the realtime-demo from /examples/realtime-demo
  2. Enable console logging for all events
    Add this line to log all events -

session.on("transport_event", (e) => { console.log("Transport event:", e); });

  1. Provide voice input
  2. Observe that while voice output and its transcription work, the transcription of the user's voice input fails

Environment

  • Repository: openai/openai-agents-js
  • Demo: examples/realtime-demo
  • Browser console logging enabled

Additional Context

This appears to be specifically related to the transcription functionality for user voice input, while other voice-related features are working as expected.

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