Hi - posting here as its probably a question, though the "issue" would be lack of documentation
createReadStream(path, opts) => stream
And then can specifiy opts to read a byte range.
Unfortunately in https://github.com/ipfs/interface-ipfs-core/blob/master/SPEC/FILES.md#createaddstream
in files.addReadableStream(options), the options is undocumented and appears to be for working on a single machine, not across IPFS, while
files.cat(path, callback) doesn't take options.
Am I correct in assuming that I can't seek on a IPFS stream, meaning that to play the middle of a video will require pulling the entire video, storing in a local file (outside of IPFS) and then creating a local OS seekable from that?
That's ok - but will have super long delays on big files, so I want to make sure I'm not missreading things.