Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

events in the upload-pin-transcode loop #74

Closed
jellegerbrandy opened this issue Jan 21, 2018 · 3 comments
Closed

events in the upload-pin-transcode loop #74

jellegerbrandy opened this issue Jan 21, 2018 · 3 comments

Comments

@jellegerbrandy
Copy link
Contributor

jellegerbrandy commented Jan 21, 2018

For the UX in the frontend, we'd need at least:

  • onFileReady(file) when the file is uploaded to the local ipfs node. We need this so we can start working with the hash
  • onUploadReady(file) when the file has been successfully uploaded to the network. In practice, this means when the "pinning" node (in our current setup the transcoder) has the file available (but has not transcoded yet). This is a very important event to have, because it means that he user can leave.
  • onUploadProgress(..) progress when the file is being uploaded to the pinning node.
  • onTranscodingDone(ipfsHashOfTranscodedFile): when transcoding is done
  • onTranscodingProgress(...)
@jellegerbrandy jellegerbrandy added this to To Do in 0.0.1 release sprint via automation Jan 21, 2018
@jellegerbrandy
Copy link
Contributor Author

@ya7ya , you think this is feasible with the protocol? Or shall we do this via some contracts?

@jellegerbrandy
Copy link
Contributor Author

Of these events, we only have onFileReady and onTransocdingDone.

We can mock the other events in paratii-lib, so that we can progress in the frontend

@jellegerbrandy
Copy link
Contributor Author

clocking this, as we have most of this, but with better names :-)

0.0.1 release sprint automation moved this from To Do to Done Feb 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

1 participant