Skip to content

Realtime: enable a playback tracker #1242

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Realtime: enable a playback tracker #1242

wants to merge 1 commit into from

Conversation

rm-openai
Copy link
Collaborator

@rm-openai rm-openai commented Jul 25, 2025

So far, we've been assuming that audio is played:

  • immediately (i.e. with 0 delay/latency)
  • at realtime

This causes issues with our interrupt tracking. The model wants to know how much audio the user has actually heard. For example in a phone call agent, this wouldn't work (bc theres a delay of a few hundred ms between model sending audio and the user hearing it). This PR allows you to pass a playback tracker.


@rm-openai rm-openai changed the base branch from main to rm/pr1235 July 25, 2025 01:30
rm-openai added a commit that referenced this pull request Jul 25, 2025
Will need this for a followup.

---
[//]: # (BEGIN SAPLING FOOTER)
* #1243
* #1242
* __->__ #1235
Base automatically changed from rm/pr1235 to main July 25, 2025 01:30
@rm-openai rm-openai requested a review from seratch July 25, 2025 01:31
@seratch
Copy link
Member

seratch commented Jul 25, 2025

it seems the file conflicts with main branch need to be resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants