-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
Try seed but get error! #75
Comments
filePath: /var/www/html/video.mp4 ^C/usr/lib/node_modules/webtorrent-hybrid/node_modules/electron-webrtc/src/RTCPeerConnection.js:17 Error: Cannot create RTCPeerConnection, the electron-webrtc daemon has been closed |
The problem resides in electron-webrtc that for some reason was closed. Which version of node and which OS are you using? |
root@debian-2gb-nbg1-dc3-1 ~ # node -v |
I would follow #76 |
Hello, i'm install webtorrent-hybrid
Upload file to my server and try seed.
var WebTorrent = require('../index')
var client = new WebTorrent()
var filePath = '/var/www/html/video.mp4'
console.log('filePath:', filePath)
client.seed(filePath, function (torrent) {
console.log('torrentId (info hash):', torrent.infoHash)
})
start this file with node seed.js check file on instant.io start downloading 1 sec and stopped.
What is the problem ? i'm few days ago try working with webtorrent but is hard...
The text was updated successfully, but these errors were encountered: