detect-audio-video
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

detect-audio-video

NPM version NPM downloads install size

Detect audio and video features in browser.

Features

  • 🖥️ Screen
    • Name
    • Size
    • Aspect ratio
    • Device pixel ratio
    • HDR support
    • Wide gamut
    • Color spaces
  • ⚙️ GPU
    • Vendor
    • Renderer
  • 🔒 DRM
    • Microsoft PlayReady SL150, SL2000, SL3000
    • Google Widevine Modular L1, L3
    • Apple FairPlay
    • Adobe Primetime
    • HDCP
  • 🏊 Native streaming support
    • DASH
    • HLS
    • MSS
  • ⏯ HTMLVideoElement features
    • Media Source Extensions
    • Encrypted Media Extensions
    • Managed Media Source
    • Picture-in-picture
    • Cast to AirPlay
  • 📹 Video codecs
    • H.264
    • H.265 (HEVC)
    • H.266 (VVC)
    • Dolby Vision
    • EVC
    • VP8
    • VP9
    • AV1
  • 🔊 Audio codecs
    • AAC
    • Opus
    • Vorbis
    • FLAC
    • ALAC
    • AC-3 (Dolby Digital)
    • EC-3 (Dolby Digital+)
    • Dolby Atmos
  • 🖼️ Image formats
    • GIF
    • PNG
    • APNG
    • JPEG
    • JPEG XL
    • HEIF/HEIC
    • AVIF
    • WEBP
    • SVG
  • 🕍 Platform
    • Standalone

Install

npm i --save-dev detect-audio-video

Using

import { isAacSupported } from 'detect-audio-video';

console.log('AAC supported', isAacSupported());

Links

MIT

Package Sidebar

Install

npm i detect-audio-video

Weekly Downloads

755

Version

1.1.0

License

MIT

Unpacked Size

52.2 kB

Total Files

36

Last publish

Collaborators

  • hcodes