hls.js 1.4.13 → 1.4.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/hls.mjs CHANGED
@@ -409,7 +409,7 @@ function enableLogs(debugConfig, id) {
409
409
  // Some browsers don't allow to use bind on console object anyway
410
410
  // fallback to default if needed
411
411
  try {
412
- exportedLogger.log(`Debug logs enabled for "${id}" in hls.js version ${"1.4.13"}`);
412
+ exportedLogger.log(`Debug logs enabled for "${id}" in hls.js version ${"1.4.14"}`);
413
413
  } catch (e) {
414
414
  exportedLogger = fakeLogger;
415
415
  }
@@ -1499,6 +1499,11 @@ const utf8ArrayToStr = (array, exitOnNull = false) => {
1499
1499
  };
1500
1500
  let decoder;
1501
1501
  function getTextDecoder() {
1502
+ // On Play Station 4, TextDecoder is defined but partially implemented.
1503
+ // Manual decoding option is preferable
1504
+ if (navigator.userAgent.includes('PlayStation 4')) {
1505
+ return;
1506
+ }
1502
1507
  if (!decoder && typeof self.TextDecoder !== 'undefined') {
1503
1508
  decoder = new self.TextDecoder('utf-8');
1504
1509
  }
@@ -25081,7 +25086,7 @@ class Hls {
25081
25086
  * Get the video-dev/hls.js package version.
25082
25087
  */
25083
25088
  static get version() {
25084
- return "1.4.13";
25089
+ return "1.4.14";
25085
25090
  }
25086
25091
 
25087
25092
  /**