Audio Codec
Audio codec choices directly affect intelligibility, latency, and bandwidth cost in live and VOD workflows. This guide covers codec decisions that matter in production and how to standardize them across teams. For this workflow, Ingest & route is the most direct fit.
Why codec policy matters
Many incidents attributed to video quality are actually audio-profile mismatches or unstable transcoding paths. A codec policy prevents drift between operators, encoders, and playback clients.
Decision model
- Define target devices and playback constraints.
- Choose primary codec for compatibility and secondary codec for special cases.
- Set fixed sample rate, channel layout, and bitrate tiers.
- Validate end-to-end behavior under packet loss and jitter.
- Monitor transcoding errors and loudness consistency.
Relevant products: Player and embed, Video platform API, 24/7 streaming channels.
Practical defaults
- AAC-LC for broad browser and mobile compatibility.
- Stable sample rate across ingest and output profiles.
- Conservative bitrate for speech-first channels, higher tiers for music-heavy events.
- Single source of truth for profile presets in CI/config repository.
Low-latency considerations
Codec selection should be aligned with packetization and buffer strategy. Better results come from end-to-end tuning than from bitrate increases alone.
Reference materials: bitrate guide, codec basics, low latency SRT transport.
Operational checks
- Track audio-video sync drift on long sessions.
- Alert on sudden channel-layout changes and decode failures.
- Keep fallback transcode profile ready for unstable sources.
Common mistakes and fixes
- Mistake: different sample rates per channel. Fix: enforce one standard profile.
- Mistake: codec changes during events. Fix: lock configuration per event window.
- Mistake: no monitoring of decode errors. Fix: add codec-level observability.
Next step
Continue with audio track strategy, transcoding architecture, and Video platform API.


