@mux/playback-core
Advanced tools
Comparing version 0.9.1-canary.1-a3c965e to 0.9.1-canary.10-05855a4
{ | ||
"name": "@mux/playback-core", | ||
"version": "0.9.1-canary.1-a3c965e", | ||
"version": "0.9.1-canary.10-05855a4", | ||
"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 |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
2
1
41240
9
758