@mux/playback-core
Advanced tools
Comparing version 0.9.1-canary.10-a56cc06 to 0.9.1-canary.10-b676200
{ | ||
"name": "@mux/playback-core", | ||
"version": "0.9.1-canary.10-a56cc06", | ||
"version": "0.9.1-canary.10-b676200", | ||
"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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41240
64829
758
139