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

@mux/playback-core

Package Overview
Dependencies
Maintainers
2
Versions
585
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mux/playback-core - npm Package Compare versions

Comparing version 0.9.1-canary.10-2a741f0 to 0.9.1-canary.10-4618ac0

2

package.json
{
"name": "@mux/playback-core",
"version": "0.9.1-canary.10-2a741f0",
"version": "0.9.1-canary.10-4618ac0",
"description": "Core library for media playback in the browser shared by mux elements",

@@ -5,0 +5,0 @@ "main": "./dist/index.cjs.js",

@@ -200,7 +200,6 @@ import '@mux/polyfills';

const hlsSupported = Hls.isSupported();
// NOTE: Native HLS playback on Android for LL-HLS has been flaky, so we're prefering
// MSE for those conditions for now. (CJP)
// NOTE: Native HLS playback on Android can be flaky, so we're just always prefering MSE. (CJP)
const userAgentStr = window?.navigator?.userAgent ?? '';
const isAndroid = userAgentStr.toLowerCase().indexOf('android') !== -1;
const defaultPreferMse = isAndroid && streamType === StreamTypes.LL_LIVE;
const defaultPreferMse = isAndroid;

@@ -207,0 +206,0 @@ // We should use native playback for hls media sources if we a) can use native playback and don't also b) prefer to use MSE/hls.js if/when it's supported

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