Detect audio and video features in browser.
- Size
- Device pixel ratio
- HDR support
- Wide gamut
- Color spaces
- Aspect ratio
- Vendor
- Renderer
- Microsoft PlayReady SL150, SL2000, SL3000
- Google Widevine Modular L1, L3
- Apple FairPlay
- Adobe Primetime
- HDCP
- DASH
- HLS
- MSS
- Media Source Extensions
- Media Source Extensions in Workers
- Encrypted Media Extensions
- Managed Media Source
- Managed Media Source in Workers
- Picture-in-picture
- Cast to AirPlay
- Remote Playback API
- H.264
- H.265 (HEVC)
- H.266 (VVC)
- Dolby Vision
- EVC
- VP8
- VP9
- AV1
- AAC
- Opus
- Vorbis
- FLAC
- ALAC
- AC-3 (Dolby Digital)
- EC-3 (Dolby Digital+)
- Dolby Atmos
- GIF
- PNG
- APNG
- JPEG
- JPEG XL
- HEIF/HEIC
- AVIF
- WEBP
- SVG
- Standalone
npm i --save-dev detect-audio-video
import { isAacSupported } from 'detect-audio-video';
console.log('AAC supported', isAacSupported());
MIT