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.
@@ -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
  }
@@ -1343,6 +1343,11 @@ const utf8ArrayToStr = (array, exitOnNull = false) => {
1343
1343
  };
1344
1344
  let decoder;
1345
1345
  function getTextDecoder() {
1346
+ // On Play Station 4, TextDecoder is defined but partially implemented.
1347
+ // Manual decoding option is preferable
1348
+ if (navigator.userAgent.includes('PlayStation 4')) {
1349
+ return;
1350
+ }
1346
1351
  if (!decoder && typeof self.TextDecoder !== 'undefined') {
1347
1352
  decoder = new self.TextDecoder('utf-8');
1348
1353
  }
@@ -18165,7 +18170,7 @@ class Hls {
18165
18170
  * Get the video-dev/hls.js package version.
18166
18171
  */
18167
18172
  static get version() {
18168
- return "1.4.13";
18173
+ return "1.4.14";
18169
18174
  }
18170
18175
 
18171
18176
  /**