huridocs / uwazi

Uwazi is a web-based, open-source solution for building and sharing document collections
http://www.uwazi.io
MIT License
240 stars 80 forks source link

Enable range requests for media files #6520

Open Zasa-san opened 8 months ago

Zasa-san commented 8 months ago

Split from #6326

We want to be able to serve audios and video in chunks so that users don’t have to download the full media file to be able to consume it. This PR https://github.com/huridocs/uwazi/pull/6332 briefly explored what’s needed on our backend so that it understands when a client makes a range request and can adequately handle it.

The goal is that users can consume videos and audios in a similar fashion to video platforms, being able to jump forward and backwards in the video and only loading the minimally necessary chunks.

Zasa-san commented 8 months ago

Consider also checking if react-player is the best solution to handle media files in the client.