platform icon indicating copy to clipboard operation
platform copied to clipboard

R&D Add support for tus protocol

Open denis-tingaikin opened this issue 1 year ago • 2 comments

tus allows for us:

  1. pause/ continue uploading big files
  2. quick stream uploading

TODO:

  1. Deploy tus server on k8s cluster with R2 storage
  2. Measure 4k video uploading with size ~ 1gb
  3. Consider variants with pausing/continuing files upload
  4. Add tus servers support in main branch
  5. Consider uploading from R2 to Cloudflare streams

denis-tingaikin avatar Jan 16 '25 17:01 denis-tingaikin

Connected to Huly®: UBERF-9159

huly-github-staging avatar Jan 16 '25 17:01 huly-github-staging

We’ve tested TUS server and it works fine.

Results:

  1. video can be delivered even if problems occurred with internet in the middle.
  2. video can have any length.
  3. video delivery time is less than 15s.
  4. memory consumption for one active session for tus server is 8 mb.
  5. video can be delivered only in raw format.

Since we want to have a modern format like hls/dash as a result we’re going to create a transcode service => https://front.hc.engineering/workbench/platform/tracker/UBERF-9192

denis-tingaikin avatar Jan 20 '25 11:01 denis-tingaikin