pgc-13 / hlsjs-ipfs-loader

A js-ipfs loader for the hls.js JavaScript HLS client
MIT License
60 stars 31 forks source link

Incompatibility with latest HLS.js versions #29

Open MeguminSama opened 3 years ago

MeguminSama commented 3 years ago

On the provided demo, the error e.parsing is undefined is thrown. Same goes for my implementation.

Has there been an update to HLS.js that broke this project?

Update: Works if I target hls.js@0.14.17

vaultec81 commented 3 years ago

@MeguminSama What is the version of hls.js that does not work?

MeguminSama commented 3 years ago

I've only tested with the latest, but I think it's broken because of a major release.

vaultec81 commented 3 years ago

@MeguminSama Could you provide some more stack trace/logs from the error output?

MeguminSama commented 3 years ago

Upon visiting https://moshisushi.github.io/ipfs_hls_example.html

Firstly:

Uncaught (in promise) TypeError: e.parsing is undefined
    loadsuccess https://cdn.jsdelivr.net/npm/hls.js@latest:1
    loadInternal https://cdn.jsdelivr.net/npm/hlsjs-ipfs-loader@latest/dist/index.js:254
hls.js@latest:1:100225
    loadsuccess hls.js@latest:1
    <anonymous> self-hosted:1178
    loadInternal index.js:115

Secondly:

Uncaught (in promise) TypeError: e.parsing is undefined
    loadsuccess hls.js@latest:1
    loadInternal index.js:115
    promise callback*loadInternal index.js:110
    load index.js:40
    load hls.js@latest:1
    onManifestLoading hls.js@latest:1
    emit hls.js@latest:1
    emit hls.js@latest:1
    trigger hls.js@latest:1
    loadSource hls.js@latest:1
    handleInit ipfs_hls_example.html:28
    <anonymous> ipfs_hls_example.html:14
    async* ipfs_hls_example.html:35
hls.js@latest:1:100225
lospringliu commented 2 years ago

@vaultec81 , it is an awesome loader, can you update to support stable hls player?