You are viewing a single comment's thread from:

RE: D.Tube 0.4: Serious UI Lifting & IPFS Backup & New Domain & More

in #dtube6 years ago (edited)

Hrmmm.. after trying out the steemitjs api (for future use in my simple photogallery IPFS hosted maker) it occurred to me to look for an in browser pure JavaScript IPFS implementation (to deal with CORS issues with the public IPFS gateways) and I found this:

https://github.com/ipfs/js-ipfs/tree/master/examples/browser-video-streaming

I can see where this might help your project out, both for the example of using ffmpeg for posting files as "chunks" which would hopefully mitigate the large file posting issue caused by disk contention and hopefully provide a "gatewayless" method of playing back the videos from IPFS without the need for mirror selection. (Though I do still see a need for at least short term pinning on an actually physical box so the file has a chance to propogate into the IPFS network a little.)

Thoughts?

Sort:  

Indeed, js-ipfs theorically enables true p2p over ipfs, without the need for the gateways. Gateways are convenient though, because they provide streaming (i.e video starts before fully downloaded, even if its a traditional file), and seeking (i,e if you go to the middle of the video it wont fetch the first half)

Also my tests with js-ipfs have been bad (unstable browser, tab crashing after a few minutes), so I dont think its production ready. But yes, that is the dream indeed, but we should give IPFS a bit of time to solve their problems first.

Well, at least their demonstration of using ffmpeg for creating the bandwidth adaptable chunked video seems useful. And their playback sample worked well here in Firefox. I was thinking more along the lines for playblack of ffmpeg chunked videos and not for posting.

Coin Marketplace

STEEM 0.26
TRX 0.11
JST 0.032
BTC 63585.64
ETH 3035.86
USDT 1.00
SBD 3.84