Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
DeltaF1
@DeltaF1
disclaimer: I don't know much about electron
Mike Kokkolios
@mikekok
@DeltaF1 I need to stream non-WebRTC torrents as well, which can't be done in the browser.
irc-gitter-bot
@irc-gitter-bot
physkets Hi!
physkets I just compiled and installed Version 0.21.0 (0.107.16) (64-bit) of the desktop client
physkets When I go to File > Create New Torrent from Folder, and then choose a directory, nothing happens.
physkets Am I missing something?
BryarBurhan
@BryarBurhan_twitter
Hello, i used the code from https://webtorrent.io/intro ,but it did not work for other torrents , it only work for https://webtorrent.io/torrents/sintel.torrent , that has been used in the code , what should i do to make it work for any torrent ?\
Mike Kokkolios
@mikekok
@BryarBurhan_twitter webtorrent only works for specific torrents, the ones with WebRTC peers, not for all torrents.
BryarBurhan
@BryarBurhan_twitter
@mikekok but this site https://webtor.io/ support all torrent file
DeltaF1
@DeltaF1
@BryarBurhan_twitter If you read the "technology" link it's doing torrent management on the server, not on the client
So they can use regular-style torrents because they're running a regular torrent library on the backend
Mike Kokkolios
@mikekok
Anyone that can answer to my previous question?
Mike Kokkolios
@mikekok
Nvm, did it using peerflix, it was much easier than I expected
BryarBurhan
@BryarBurhan_twitter
what is the maximum number of the torrent that the WebTorrent Desktop can seed it at the same time simultaneously , without the program to crash and freeze the operating system.
Travis Fischer
@transitive-bullshit
@BryarBurhan_twitter This depends a lot on your OS settings and hardware capacity. Empirically, I've seeded a few dozen without an issue over a 1GB connection.
BryarBurhan
@BryarBurhan_twitter
Why the seeds stop occasionally and I should reboot the program and add the Torrent again then the seeds will start again what is the reason for that?
Henry Petch
@hfpetch_twitter
Can anyone explain how to use webtorrent in the browser?
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <03xvvvx> hi guys, do you know, what exactly software openwebtorrent.com uses?
irc-discord-bot <03xvvvx> srry, i guess i found
BryarBurhan
@BryarBurhan_twitter
@transitive-bullshit Why the seeds stop occasionally and I should reboot the program and add the Torrent again then the seeds will start again what is the reason for that?
Guillaume Darbonne
@guidouil
Out of memory maybe
BryarBurhan
@BryarBurhan_twitter
@guidouil but my memory use %13 every time
VictorV96
@VictorV96
Hi everybody! I have a problem. I can’t distribute the file that is stored on the server, using webtorrent and webtorrent-hybrid.
I created a torrent file on nodejs create-torrent, and distributed it ... It didn’t work either ... You can throw off a simple example to distribute files on the server (Nodejs or PHP), and then the clients will distribute them among themselves in the browser. Standard Sintel works fine, but I can’t torrent ...
Mirko Guarnier
@stilllife00
Hello everybody, I have been using webtorrent-hybrid for a personal Node.js project very successfully but I was able to reproduce a problem that I would like to understand more about (maybe a bug maybe i need to do something). My setup is pretty straightforward, i just include webtorrent-hybrid and start the download. The problem is that torrent.on("dowload") sometimes is fired very ofter (eg 5 times per second) and the download is quite fast (10MBps) and if I stop my node process and restart right after with the same exact magnet, the . on("download") is fired slowly (1 per second) and also the download speed is 10 times slower. Let's say that for 10 launches of my node script, i get 3 fast every 1 slow. With webtorrent desktop app, the same magnet is always fast. Maybe you can point me on the right direction to figure out why certain "launches" are doomed to be slow while other are super speedy?
I tried different configs of connections, Chunk Store and others but the problem is the same, and it is reproducible with the same frequence
david m.
@d66494576_twitter
Hi there. Webtorrent desktop is missing an "autoplay after % or seconds" feature, and missing "auto-retry after failing to play" feature, instead of prompting to launch VLC. Otherwise torrents are perfect, seek works fantastic. Everything is great.
BryarBurhan
@BryarBurhan_twitter
webtorrent-desktop on both windows server and Ubuntu vnc server , stop seeding after some time ? what is the problem for that?
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <08jimfilippou> Can i ask a question?
irc-discord-bot <08jimfilippou> previewTorrent(): void { const parsed = ParseTorrent(this.file); this._client.add(parsed, (torrent: WebTorrent.Torrent) => { this.files = torrent.files; torrent.destroy(); }); }
irc-discord-bot <08jimfilippou> This code throws runtime error at const parsed ...
irc-discord-bot <08jimfilippou> this.file refers to type File and is not undefined
irc-discord-bot <08jimfilippou> this._client refers to a webtorrent client
irc-discord-bot <08jimfilippou> and ParseTorrent comes from import * as ParseTorrent from 'parse-torrent';
irc-discord-bot <08jimfilippou> All I want is be able to open .torrent files, and documentation doesn't have any examples...
irc-discord-bot <08jimfilippou> This is the runtime :/
irc-discord-bot <08jimfilippou> note 👉im on the web not node
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <09Feross> You don’t need to parse the torrent file yourself
irc-discord-bot <09Feross> You can pass the torrent file data into client.add directly
irc-discord-bot <09Feross> It should be in a Buffer
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <02Dimitris Filippou> @Feross I understand and everything is totally understood, but the typescript service gives me this "error"
irc-discord-bot <02Dimitris Filippou> Should I suppress it?
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <02Dimitris Filippou> Suppressing it worked, guess I have to make a typescript cast in order to work. Thanks anyway! nice to be in this community 😄
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <09Feross> Looks like the type might need to be updated
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <02Dimitris Filippou> I have opened PR DefinitelyTyped/DefinitelyTyped#40852 however taking a look at this picture, File is not provided even in pure JavaScript. File is not just a buffer, file contains a buffer but with metadata. Should this also be updated?
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <02Dimitris Filippou> One more question, why magnet links from the piratebay doesn't work? When i execute typescript client.add(magnet, (torrent: WebTorrent.Torrent) => { console.log(Active torrent is set to ${torrent.name}); this.activeTorrent = torrent; const file: WebTorrent.TorrentFile = torrent.files.find(function (file) { return file.name == selectedFile; }); console.log(`Appending image file to native
irc-discord-bot element...`); file.appendTo(this._video.nativeElement) }) It just does nothing... No errors whatsoever but it doesn't work. Is it a network issue?