Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

detect-audio-video

Package Overview
Dependencies
Maintainers
1
Versions
66
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 1.1.0 to 1.1.1

5

dist/index.js

@@ -298,3 +298,4 @@ const AAC_CONTENT_TYPE = 'audio/mp4; codecs="mp4a.40.2"';

function isMseSupported() {
return Boolean(window.MediaSource && window.MediaSource.isTypeSupported);
return Boolean(window.MediaSource &&
typeof window.MediaSource.isTypeSupported === 'function');
}

@@ -309,3 +310,3 @@ function isEmeSupported() {

return Boolean(window.ManagedMediaSource &&
window.ManagedMediaSource.isTypeSupported);
typeof window.ManagedMediaSource.isTypeSupported === 'function');
}

@@ -312,0 +313,0 @@

10

package.json
{
"name": "detect-audio-video",
"version": "1.1.0",
"version": "1.1.1",
"description": "Detect audio and video features in browser",

@@ -25,9 +25,9 @@ "module": "dist/index.js",

"@types/jest": "^29.5.12",
"del-cli": "^4.0.1",
"del-cli": "^5.1.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"rollup": "^4.12.0",
"ts-jest": "^29.1.2",
"rollup": "^4.18.0",
"ts-jest": "^29.1.3",
"tslib": "^2.6.2",
"typescript": "^5.3.3"
"typescript": "^5.4.5"
},

@@ -34,0 +34,0 @@ "keywords": [

@@ -12,60 +12,68 @@ # detect-audio-video

## Features
- 🖥️ Screen
+ Name
+ Size
+ [Aspect ratio](https://github.com/vvideo/calc-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](https://github.com/vvideo/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
### 🖥️ Screen
- Size
- Device pixel ratio
- HDR support
- Wide gamut
- Color spaces
- [Aspect ratio](https://github.com/vvideo/calc-aspect-ratio)
### ⚙️ GPU
- Vendor
- Renderer
### 🔒 DRM
- Microsoft PlayReady SL150, SL2000, SL3000
- Google Widevine Modular L1, L3
- Apple FairPlay
- Adobe Primetime
- [HDCP](https://github.com/vvideo/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

@@ -72,0 +80,0 @@ `npm i --save-dev detect-audio-video`

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