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.js +7 -2
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +7 -2
- package/dist/hls.light.js.map +1 -1
- package/dist/hls.light.min.js +1 -1
- package/dist/hls.light.min.js.map +1 -1
- package/dist/hls.light.mjs +7 -2
- package/dist/hls.light.mjs.map +1 -1
- package/dist/hls.min.js +1 -1
- package/dist/hls.min.js.map +1 -1
- package/dist/hls.mjs +7 -2
- package/dist/hls.mjs.map +1 -1
- package/dist/hls.worker.js +1 -1
- package/dist/hls.worker.js.map +1 -1
- package/package.json +1 -1
- package/src/demux/id3.ts +6 -0
package/package.json
CHANGED
package/src/demux/id3.ts
CHANGED
|
@@ -397,6 +397,12 @@ export const testables = {
|
|
|
397
397
|
let decoder: TextDecoder;
|
|
398
398
|
|
|
399
399
|
function getTextDecoder() {
|
|
400
|
+
// On Play Station 4, TextDecoder is defined but partially implemented.
|
|
401
|
+
// Manual decoding option is preferable
|
|
402
|
+
if (navigator.userAgent.includes('PlayStation 4')) {
|
|
403
|
+
return;
|
|
404
|
+
}
|
|
405
|
+
|
|
400
406
|
if (!decoder && typeof self.TextDecoder !== 'undefined') {
|
|
401
407
|
decoder = new self.TextDecoder('utf-8');
|
|
402
408
|
}
|