Open casperiv0 opened 3 weeks ago
Hi,
Can you give me a bit more context about where that code would need to go? Would it be part of the AssetServerPlugin handler?
And would it also mean that any asset file can be streamed if the client request includes the range
header? Excuse my ignorance because I have never dealt with file streaming over http before.
Yep, this would be part of the AssetServerPlugin
, more notably the sendAsset
function (and if necessary for images, generateTransformedImage
function too). I've never worked with streaming over http before, but the above code snippet seems quite OK as a solution, though, there are probably some packages out there that do it for you (& probably better 😄)
Is your feature request related to a problem? Please describe. We have video product shots - which work perfectly in a web environment - we'd also like to implement these for our mobile app. iOS requires support for streaming video assets
Describe the solution you'd like Support video streaming, something like:
Describe alternatives you've considered Implement the above code snippet into Vendure locally.