Skip to content

HeyGen improvements.#3653

Open
filipi87 wants to merge 3 commits intomainfrom
filipi/heygen_lite
Open

HeyGen improvements.#3653
filipi87 wants to merge 3 commits intomainfrom
filipi/heygen_lite

Conversation

@filipi87
Copy link
Contributor

@filipi87 filipi87 commented Feb 5, 2026

Summary

  • Added support for sandbox mode in HeyGen LiveAvatar integration via is_sandbox parameter
  • Added configurable video settings (encoding type and quality level) via video_settings parameter
  • Changed default session mode from "CUSTOM" to "LITE" with VP8 as default encoding
  • Updated examples to use sandbox mode with the official sandbox avatar

@codecov
Copy link

codecov bot commented Feb 5, 2026

Codecov Report

❌ Patch coverage is 0% with 21 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/pipecat/services/heygen/api_liveavatar.py 0.00% 21 Missing ⚠️
Files with missing lines Coverage Δ
src/pipecat/services/heygen/api_liveavatar.py 0.00% <0.00%> (ø)

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.


mode: str = "CUSTOM"
avatar_id: str
video_settings: Optional[VideoSettings] = VideoSettings(encoding=VideoEncoding.VP8)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect that HeyGen changed their API and started sending video using H.264 instead of VP8 by default.

While this works on other platforms, it looks like the LiveKit Python SDK on macOS is unable to decode H.264, so we don’t receive any video frames in Pipecat.

We will use VP8 as the default codec, while still allowing users to switch codecs in case H.264 works on other platforns.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@filipi87 filipi87 marked this pull request as ready for review February 5, 2026 19:33
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