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

torrent with multifiles download done immediately to be use #1119

Closed
bluefchen opened this issue Apr 29, 2017 · 2 comments
Closed

torrent with multifiles download done immediately to be use #1119

bluefchen opened this issue Apr 29, 2017 · 2 comments

Comments

@bluefchen
Copy link

@bluefchen bluefchen commented Apr 29, 2017

I have a webtorrent file with multifiles inside.
Is there any way to listen 'torrent.files.forEach' download status.
So when a file is downloaded successfully, i can render it immediately.

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Apr 29, 2017

You can use renderTo, appendTo, getBlob, getBlobURL and getBuffer methods for such.

More info: API#getBuffer

@lock

This comment has been minimized.

Copy link

@lock lock bot commented May 3, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.