Skip to main content
Version: 2.17

Video Codecs

In this guide, we’ll explain how to use H.264, VP8 & H.265(HEVC) video codecs in Ant Media Server.

Currently, WebRTC relies on specific codecs for video streaming, and Ant Media Server supports H.264 & VP8 for it.

Protocols like HLS, LL-HLS, and CMAF (DASH) support the H.265 codec to provide maximum compatibility and quality options. WebRTC does not officially support H.265 yet.

Codec Configuration

In earlier versions of Ant Media Server, only H.264 and VP8 could be enabled from the application settings, while H.265 required configuration through advanced settings.

In v2.17, all supported video codecs (H.264, H.265, & VP8) can be enabled directly from the application settings via the web panel.

Video Codecs

info

VP8 and H.264 are mandatory in WebRTC as per RFC 7742. However, not all browsers support these codecs at the same time.

Each codec can be enabled or disabled based on your requirements. This guide will cover how to enable and configure these codecs in different scenarios.