sphinx-tribes icon indicating copy to clipboard operation
sphinx-tribes copied to clipboard

Stream Youtube Mp4 WHILE It's Downloading to S3

Open uncleJim21 opened this issue 1 year ago • 6 comments

Currently: the way we do things is:

  1. User goes into a video
  2. The client checks if we have a copy in S3
  3. When we do not, the client requests that the tribes server downloads the Youtube video
  4. In the meantime, we play back the youtube video using the non-native JS based plugin

Our Goal: Instead of step 4, the tribes server provides a link where the client can stream the video through the native player instead of the JS plugin, even while the download to S3 is still occurring.

Why are we doing this? We are getting away from the JS plugin library and the native player provides superior performance + feature sets.

Future Dev After this Ticket Provide first user opportunity to stake sats to have it included in the second brain and earn sats back when other users consume the content (link: https://github.com/stakwork/sphinx-tribes/issues/617)

uncleJim21 avatar Aug 02 '23 19:08 uncleJim21