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

Can't seeding a file via nodejs #780

Closed
NgaNguyenDuy opened this issue Apr 29, 2016 · 2 comments
Closed

Can't seeding a file via nodejs #780

NgaNguyenDuy opened this issue Apr 29, 2016 · 2 comments
Labels

Comments

@NgaNguyenDuy
Copy link

@NgaNguyenDuy NgaNguyenDuy commented Apr 29, 2016

  • WebTorrent version: 0.91.1
  • Node.js version: v5.2.0
  • Browser name/version (if using WebTorrent in the browser): Chromium 49.0.2623.108 Built on 8.3, running on Debian 8.3 (64-bit)

I can't seeding a file via nodejs (browser is very good). Here is my code:

var WebTorrent = require ('webtorrent')
var client = new WebTorrent();

client.seed('a.mp4', function (torrent) {
    console.log('Seeding ...' + torrent.magnetURI);
})

I copy the magnetURI then paste to a bittorrent client (same as instance.io or webtorrent-desktop) but i can't see any peers. What i am missing?

@NgaNguyenDuy

This comment has been minimized.

Copy link
Author

@NgaNguyenDuy NgaNguyenDuy commented Apr 29, 2016

It's fixed by using webtorrent-hybrid package.

@feross feross added the question label May 4, 2016
@lock

This comment has been minimized.

Copy link

@lock lock bot commented May 4, 2018

This thread has been automatically locked because it has not had recent activity. To discuss futher, please open a new issue.

@lock lock bot locked as resolved and limited conversation to collaborators May 4, 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.