henry-rodrick / hlsjs-ipfs-loader

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

Multiple Changes #13

Closed tcyrus closed 4 years ago

tcyrus commented 4 years ago

@moshisushi, let me know if you encounter any issues with building.

I made sure that commit fbbfade67d13c9b12d5f4736c525f494756b4332 works on my machine.

henry-rodrick commented 4 years ago

Will have a look after work. Thank you!

henry-rodrick commented 4 years ago

Thanks, this seems to be working now, however there it took a very long time for the video to start playing when I tested, so might be a performance regression. Will investigate that before building a new version.

henry-rodrick commented 4 years ago

@tcyrus I will have more time this weekend to properly work on this stuff. But in the meantime, just to explain what my basic test is, I simply use the node test http-server (from npm install http-server -g) and start it up from the repo root, then head to http://localhost:8080/examples/basic_usage.html. This is the same as the runnable example in the README except it's using hlsjs-ipfs-loader from the dist directly instead of the latest version in npm.

henry-rodrick commented 4 years ago

@tcyrus Nevermind, all good, I think peer discovery was just slow when running from the test server. I've published this stuff now as v0.2.0: https://www.npmjs.com/package/hlsjs-ipfs-loader/v/0.2.0