Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <06zaaz> shouldn't the arbitrary data/bep44 be accessible from webtorrents, not just the bittorrent-dht package? would be nice to have the methods when using webtorrents
irc-discord-bot <06zaaz> by methods, i mean .put() and .get()
irc-gitter-bot
@irc-gitter-bot
passingby Hi
passingby Just came by the github library for webtorrent :)
passingby Forgive my inexperience please. I'm a web dev, but there are currently huge holes in my understanding/knowledge
passingby Could this system in effect enable the creation of a simple streaming site that is run by p2p connections?
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <11ThaUnknown_> well yes, but actually no
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <11ThaUnknown_> TLDR: not yet, but very soon, pls contribute if you're coming from the anime communities I'll say simply: lack of codec and subtitle support doesn't make it viable. if you're not then: codec support and video container support isn't great, but that's due to change this year for sure, it also might not handle itself well on low ended devices because of how the lib handles buffers, this is also 100% gonna change,
irc-discord-bot storing large torrents >5GB also gets difficult if you want super high quality playback, but that's also gonna be changed very soon
ofsource
@ofsource:matrix.org
[m]
Thanks for the info. I was looking at music streaming. Video perhaps but would be happy to start with video and image only.
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <11ThaUnknown_> music streaming should be fine
irc-discord-bot <11ThaUnknown_> like netflix
irc-discord-bot <11ThaUnknown_> video might be challenging depending on your criteria/demands tho
irc-discord-bot <11ThaUnknown_> again, it's all possible and working, but viability is another concern
ofsource
@ofsource:matrix.org
[m]
Got it, thanks
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <06zaaz> if i want to use dht.put() or dht.get() along with webtorrent at the same time, i gotta instantiate the another dht, if we can access the dht instance webtorrent is already using, that would be great. is that possible already. if not that is fine, i will keep on using the way i have
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <06zaaz> also, is it possible to have a delete/remove method on bittorrent-dht package? .del() or .remove() to remove a piece of value as long as it is the data originator doing it
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <06zaaz> read more about mutable torrents, some people brought up security issues of having someone automatically making an update and people unknowingly seeding a malicious torrent/file. so the arbitrary data/bep44 can be a way to store infohashes and update them with a newer info hash as the message with each new update. i'm no pro, not even a beginner but this was fun. made this shitty play package. too bad browser can't do
irc-discord-bot dht, i can envision pasting a infohash on the address url bar and then downloading a torrent/app and being served by others peers instead of a central server.
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <03jsNinja> Check out https://www.npmjs.com/package/dht-keyvalue. I'm working on a browser version, but it requires a server component still.
irc-discord-bot <03jsNinja> By the way, DHT will be dropped in 2 hours if not refreshed. That could serve as the .remove().
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <02Dalas> Hi guys, does webtorrent.io also work with livestreaming?
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <03jsNinja> There are libraries you could use to leverage to build a livestreaming application. See: Bugout - https://github.com/chr15m/bugout P2PT - https://github.com/subins2000/p2pt Both connect peers together and provide browser-to-browser data channels.
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <06zaaz> gonna work on a browser project then. give me an opportunity to work with electron or nw.js. just took a look at beaker browser, now inspired to try to make a browser that can work with p2p stuff
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <02Dalas> Thank you very much!! Will take a look into it 😊
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <03jsNinja> Anyone know of any groups/forums/channels for P2P developers & implementers in addition to this one? I've found it pretty challenging to find others to talk with about projects I'm working on, share ideas, tips etc. This channel is great, but something more active would be nice.
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <11canttell> I am also looking for something like that!
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <09Feross> Would it be helpful if we made a channel here specifically for p2p protocol development of other protocols?
irc-discord-bot <09Feross> Here you go: #🤝p2p-protocols
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <13amigolitoabsocriso> i don't get it, do people develop new protocols on top of webrtc p2p?
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <08DiegoRBaquero> Yeah, webtorrent is bittorrent over webrtc
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <03friendtovue> can the strategy be changed at any time just by changing torrent.strategy?
irc-gitter-bot
@irc-gitter-bot
irc-discord-bot <04Anand Jha> wanted to ask something i have cloned instant.io to local and piping it via the ngrok. scene 1 - working fine when the two devices are in same network scene 2- working fine when network 1 is in instant.io and the other in my local ngrok pipe scene 3 - dosent work in the different network ( like one device is in phone network and other in wifi network ) but seeding sems to be fine. i did replaced webtorrent
irc-discord-bot with webtorrent-hybrid but now ICE is not connecting of saying connectio failed. what am i doing wrong here
codduck
@codduck
Hey quick question i've read the source code for server.js in webtorrent i don't understand which part of the code is responsible for checking if the requested content range is downloaded or asks the torrent engine to download that part and then sends the response and what this pump library is doing can anyone help me pls ;,(
Brayan
@lokuedo5000

hi i am trying to play a video with this code

client.add(magnet, function(torrent) {
var file = torrent.files.find(function(file) {
return file.name.endsWith('.mp4')
})
file.appendTo('.vervideo')
})

but I get the error
invalid selection 1996 : 916

Please someone help me

Veg
@Veg______twitter
How do you change the download location? I want to download in a folder in my D drive but it always defaults to my C drive where I don't have enough space
Brayan
@lokuedo5000
Friend that's easy, I already give you an example
but in which version do you use it in Node Js or on the web
Arykakas
@Arykakas
Hello
jimman2003
@jimman2003:matrix.org
[m]
Hi
Brayan
@lokuedo5000
Hi
Arykakas
@Arykakas
Where are all the MAD science HACKErS?
jimman2003
@jimman2003:matrix.org
[m]
Everywhere
Jefferson de Andrade Santos
@jersobh
hi folks
How can I use libtorrent with webtorrent support?
Jefferson de Andrade Santos
@jersobh
webtorrent-hybrid/index.js:2
import './lib/global.js'
       ^^^^^^^^^^^^^^^^^

SyntaxError: Unexpected string
I'm getting this error
Jefferson de Andrade Santos
@jersobh
const client = new WebTorrent()
               ^

TypeError: WebTorrent is not a constructor
I'm trying to use with node v14
Manuel Etchegaray
@Manuel-777
Hi guys! I've been trying to solve a P2P problem for a few days now, I tried different options and landed here, basically what I want to achieve is to find a swarm of servers (nodejs servers) from a website, these servers could be using a regular dht like BitTorrent and announce themselves with a single topic, but the problem is for the website to find any of them using only JavaScript, any ideas how to do that with the least deployment of servers needed, to avoid a single point of failure, since this won't be a very large network. For example, using hyperswarm-web required a proxy, if the proxy is down clients can't find peer servers. Thanks on advance!