sphinx-tribes
sphinx-tribes copied to clipboard
Stream Youtube Mp4 WHILE It's Downloading to S3
Currently: the way we do things is:
- User goes into a video
- The client checks if we have a copy in S3
- When we do not, the client requests that the tribes server downloads the Youtube video
- 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)