Skip to content

fix: live_avatar silent audio flow#36

Merged
AdirAmsalem merged 1 commit intomainfrom
codex/live-avatar-audio-stream-fix
Mar 5, 2026
Merged

fix: live_avatar silent audio flow#36
AdirAmsalem merged 1 commit intomainfrom
codex/live-avatar-audio-stream-fix

Conversation

@AdirAmsalem
Copy link
Contributor

Summary

  • add an internal AudioStreamManager for live_avatar when no user-provided audio track is passed
  • expose RealtimeClient.play_audio() for runtime audio injection through the managed track
  • clean up AudioStreamManager on both disconnect and connect failure paths
  • update examples/avatar_live.py to demonstrate play_audio() usage

Validation

  • pytest -q tests/test_realtime_unit.py (35 passed)

@AdirAmsalem AdirAmsalem changed the title Fix live_avatar audio flow in Python SDK fix: live_avatar silent audio flow Mar 5, 2026
@AdirAmsalem AdirAmsalem merged commit 1eaf8c3 into main Mar 5, 2026
8 checks passed
@AdirAmsalem AdirAmsalem deleted the codex/live-avatar-audio-stream-fix branch March 5, 2026 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant