mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-28 05:08:00 +02:00
changes:
- removed mux.js (see https://github.com/shaka-project/shaka-player/issues/5912#issuecomment-1819153525) - bump shaka to 4.6.1 - display MediaError code
This commit is contained in:
parent
c52b622a70
commit
9bff19e0c7
3 changed files with 75 additions and 123 deletions
|
@ -33,9 +33,6 @@ async function Stream() {
|
|||
|
||||
const { url, mime } = await useManifest(res);
|
||||
|
||||
if (mime == 'application/x-mpegURL')
|
||||
window.muxjs ??= await import ('mux.js').then(mod => mod.default)
|
||||
|
||||
if (!window.audioPlayer) {
|
||||
shaka.polyfill.installAll();
|
||||
|
||||
|
@ -113,7 +110,8 @@ async function Stream() {
|
|||
})
|
||||
.catch(err => {
|
||||
console.error(err);
|
||||
a.add('Error: ' + err.code);
|
||||
if (err.code == 3016) a.add('MediaError: ' + err.data[0])
|
||||
else a.add('Error: ' + err.code);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue