New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

detect-audio-video

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

detect-audio-video - npm Package Compare versions

Comparing version 0.41.0 to 1.0.0

18

package.json
{
"name": "detect-audio-video",
"version": "0.41.0",
"description": "Detect audio video features",
"version": "1.0.0",
"description": "Detect audio and video features in browser",
"module": "dist/index.js",

@@ -38,2 +38,16 @@ "type": "module",

"playready",
"fairplay",
"vp8",
"vp9",
"h.264",
"h.265",
"hevc",
"h.266",
"aac",
"opus",
"vorbis",
"dolby atmos",
"dolby digital",
"ac-3",
"ec-3",
"hdr",

@@ -40,0 +54,0 @@ "dolby"

28

README.md

@@ -5,7 +5,8 @@ # detect-audio-video

[![NPM downloads](https://img.shields.io/npm/dm/detect-audio-video.svg?style=flat)](https://www.npmjs.com/package/detect-audio-video)
[![bundlephobia](https://badgen.net/bundlephobia/minzip/detect-audio-video)](https://bundlephobia.com/result?p=detect-audio-video)
[![install size](https://packagephobia.com/badge?p=detect-audio-video)](https://packagephobia.com/result?p=detect-audio-video)
Detect audio video features.
Detect audio and video features in browser.
## [Demo](https://vvideo.github.io/caniwatchvideo)
## Features

@@ -16,3 +17,3 @@ - Support for media formats

+ Size
+ Aspect ratio
+ [Aspect ratio](https://github.com/vvideo/calc-aspect-ratio)
+ Device pixel ratio

@@ -22,4 +23,5 @@ + HDR support

+ Color spaces
+ [ScreenDetails](https://developer.mozilla.org/en-US/docs/Web/API/ScreenDetails): primary, internal and etc.
- GPU info
- GPU
+ Vendor
+ Renderer
- DRM

@@ -30,2 +32,3 @@ + Microsoft PlayReady SL150, SL2000, SL3000

+ Adobe Primetime
+ [HDCP](https://github.com/vvideo/hdcp)
- Native streaming support

@@ -52,2 +55,6 @@ + DASH

+ AAC
+ Opus
+ Vorbis
+ FLAC
+ ALAC
+ AC-3 (Dolby Digital)

@@ -70,3 +77,3 @@ + EC-3 (Dolby Digital+)

## Install
`npm install detect-audio-video --save-dev`
`npm i --save-dev detect-audio-video`

@@ -77,6 +84,11 @@ ## Using

console.log(`AAC supported: ${isAacSupported()}`);
console.log('AAC supported', isAacSupported());
```
## License
## Links
- [Can I Watch Video?](https://vvideo.github.io/caniwatchvideo)
- [Calculate aspect ratio](https://github.com/vvideo/calc-aspect-ratio)
- [HDCP](https://github.com/vvideo/hdcp)
## [License](./LICENSE)
MIT
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc