detect-audio-video
Advanced tools
Comparing version 0.41.0 to 1.0.0
{ | ||
"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" |
@@ -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 |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
51770
1
88