
Liveavatar Debug
This is a symptom-based troubleshooting guide for when your LiveAvatar integration breaks. It covers the most common failure modes: silent avatars (usually missing context_id in FULL mode), garbled audio (wrong PCM format in LITE), auth header mixups between endpoints, and dropped WebSocket events. The format is practical, each section starts with "most likely cause" and gives you a checklist or quick fix. Particularly useful is the side-by-side comparison of FULL vs LITE event systems, since mixing them is apparently a frequent mistake. If you're building against HeyGen's LiveAvatar API and hitting weird behavior with no clear error messages, this will save you hours of guessing.
- skills.sh installs
- 1.1K
- GitHub stars
- 16
- last updated
- Aug 21, 2026
Install
$ npx -y skills add heygen-com/liveavatar-agent-skills --skill liveavatar-debug --agent claude-codeInstalls into .claude/skills of the current project.
Files
LiveAvatar Debugging Guide
Symptom-based troubleshooting for LiveAvatar integrations. Find your symptom below and follow the fix.
Avatar is silent / not responding to speech
Most likely: Missing context_id in FULL Mode.
Without a context_id, the avatar enters restricted mode — streams video but ignores user input. No error thrown.
Fix: Create a context via POST /v1/contexts with at least a prompt field. Include the returned context_id in your session token's avatar_persona.
Other causes:
- Browser mic permissions blocked (check
allow="microphone"on iframe) - Push-to-Talk enabled but PTT events not being sent
- OS-level mic mute
Audio is garbled or distorted (LITE Mode)
Most likely: Wrong audio format.
Required: PCM 16-bit signed, 24KHz, base64. No error returned for wrong format.
Checklist:
- Sample rate is exactly 24,000 Hz
- Raw PCM (no WAV/MP3/OGG headers)
- 16-bit signed, not 8-bit or 32-bit float
- Base64 encoded
- Chunks under 1MB
Quick test: Send a known-good 440Hz test tone. If it works but your TTS doesn't, resample your TTS output.
401 error / session fails to start
Sponsors
Details
- Repository
- github.com/heygen-com/liveavatar-agent-skills
- Categories
- Backend & APIs, AI & Agent Building, Debugging
- First seen
- Jun 3, 2026