Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upWebTorrent not support for Buffer on browser #671
Comments
This comment has been minimized.
This comment has been minimized.
|
The problem is that Aside of using the static webtorrent.min built you can checkout the configurations which have to be set to enable the |
This comment has been minimized.
This comment has been minimized.
|
@Autarc The @jimliang Please share a complete code example. It sounds like you're using the wrong function. |
This comment has been minimized.
This comment has been minimized.
|
html:
bundle.js is created by webpack.Source:
Throwing Now I use browserify instead of webpack.This issue can close. :3 |
This comment has been minimized.
This comment has been minimized.
|
@Autarc I would like to see those configurations but the link is dead |
using webpack as a bundler.
Because it do not support
require('webtorrent')with webpack(see #347 ),i userequire('webtorrent/webtorrent.min')in the browser.But it return undefined when
webtorrent.get(new Buffer(...)).It seen that webtorrent.min cannot parse a Buffer Object.