Whats up guys. I am a sophomore computer science major

Whats up guys. I am a sophomore computer science major.

I had an obvious idea this morning and I haven't been able to find anyone doing it.


I will create a P2P Video Streaming Service (like youtube except P2P) that is entirely free for content creators and video watchers.

It would work like this:

I can compress video data to different quality (bitrates).
Use a bitTorrent like protocol to divide video into tiny pieces.
And host it on my "node"


USER1 loads APP and either uses a magnetlink or can search a distributed hash table (DHT or blockchain)
USER1 now starts streaming the packets from the node.

At the same time USER1 is streaming, they are also seeding those bits to the next streamer, USER2.

Rules:
1. All users must seed or they are booted from the network.


Some problems:

1. Anyone could crawl the DHT and find the IP address and associate files. (they know who was watching what.)

2. If no one watches your stuff, you wont have seeders. So it punishes you for not being popular.
Thoughts?

Attached: 200px-P2P-network.svg.png (200x207, 12K)

>content creators
kys, kike

So, bittorrent with sequential downloads?
That already exists.

this went over my head.
Please elaborate

basically upgrading/innovating torrent tech ya

like lets have a sexy gui for normies to "surf" nodes with

The only benefit would be for concurrent watchers right? Unless user1 is saving the bits he downloaded, in which case why even make it a streaming service? Indeed, the p2p network may be able to go faster if it doesnt have to worry about sequentially sending the bits, another advantage of download (i would think). This sounds like it would be better served by creating your own private tracker, unless you can see some benefit to having it as streaming

There already is software that lets you stream instead of downloading torrented movies

> I can compress video data to different quality (bitrates).
leave the video converting to be performed by the end user's computers.
>. All users must seed or they are booted from the network.
that wouldn't work very well. it might work for torrent sites but something for the public.. no. not everyone has the ability, wants to or has bandwidth.

Private tracker to me means hosting a server to collect IP addresses to coordinate the seeding.


I know Dynamic Hash Tables solve this problem by distributing the list of seeders across the network in a ledger. (kinda like blockchain)

Vuze and other major torrent clients implement DHT today. They work well except they are transparent so you can see everyones IP address and every file associated with that Address.

If you used a one way encryption in might be possible to encrypt the DHT hashes to hide those IPs thus anonymizing the nodes.

Maybe Im wrong tho

So the advantage of the DHT is that it could never be deleted at a single point of failure. You would have to delete it from everyone's computers. (potentially millions)

What is that DHT? It is a map of all the seeders on the network to which you may grab you content from.

Well okay maybe that stipulation doesn't have to be there.

It would still work, if content creators invested in seed boxes.

That way they could reliably deliver their content.


Part of the cost of operation would be renting a server to seed your content for you at a different part in the globe. Or fans of yours could seed for you as well.

Dumb reddirt spacer.
Fuck off.

what does this mean?

like reddit spacer?

please elaborate

Fucking reddirt spacer newfaget.
Fuck off.

Sir ill have u know i've been browsing this site since 2010

Fuck off, newfag.
Leave and never come back.

I bet you didnt even understand what the fuck I said huh?

have a nice life NEET boi

>you don't understand the basic shit i talk about
Nice projecting, retard.
Now fuck off.

Ah i see where you are coming from a bit better now. Im not exactly sure what youre referring to as "dynamic hash tables", unless you mean
wikipedia.org wiki/Dynamic_perfect_hashing
,but that doesnt seem related from what i can tell.
If you are, which sounds like to me that you are, talking about distributing a hash table of ips across a blockchain or blockchain-like network, then that does sound pretty interesting to me. The first issue you mentioned in the op is a problem, even with one way encryption you are giving your users those encrypted keys -- which may be fine, but more examples provide your users more insight into the algorithm potentially.
Im still not sure about the value of streaming vs pure downloading though, but it is interesting

I meant to reply here
Sorry f-ed up the quote of course

It already exists. Lookup PeerTube. It uses WebTorrent which is basically what you described, and again, already exists as well.

First of all, thank you for taking the time to understand what I was saying.
From one human to another, Thank you.

Yes I think I was mixing up my terminology... but you get the general idea.

It is definitely over my head as far as me developing a prototype (maybe a summer project) but I just wanted to see the reaction from the community.

It seems most people don't realize the implications of this tech :(

ORR it is already being implemented...

i've seen things like dtube.com or bitchute.com but i think they implement this idea a lil bit different.

They all put their "for profit" spin..

mine would be open source baby

Nobody cares, newfag. Fuck off.

based

bruh i bet you dont even understand wtf this comment is saying

Let's solve some more of this thing's problems. Why limit to video? Data blocks could be anything. All blocks are encrypted by default. Blocks are identified by their hash, so you request the hash to the network and it searches peers for that block. You need the encryption key to open it, otherwise the data is useless. Users can distribute magnet links that contain both the hash and the key, similar to torrent trackers. All blocks have to be forwarded by N peers before reaching the requestor so it's anonymous and since all blocks are encrypted the data is secure and forwarding nodes have plausible deniability that anything they forward is illicit.

This is called freenet, and it's total, utter, shit.

>dumb reddirt spacer newfag thinks he can impress anyone with his basic undergrad level knowledge
Fuck off, nigger.

It was a genuinely interesting thought to me, im also curious as to the implementation. As far as looking into it, i dont know either ive never done something like this, but my initial thoughts are to look into qbittorrents source code (converting the download case to streaming case is likely easier than writing streaming from scratch, specifically because streaming downloads basically anyway). And as far as like networking/binary transfer protocols theres libraries like zeromq. The hash table is a good place to start focusing on as well. Think about an algorithm for how to distribute and recombine a hash table, and replicate and distribute pieces of it. Then work to program that algorithm
As i said im pretty novice in this area myself, those are just my initial thoughts.

1 - sequential download bittorrent, which goes against how bittorrent is designed but whatever.
2 - acestream for live streams (very popular for sports)

>freenet
thank you for telling me about it :)

I just read that paper from 2000 or whatever. It seems like their original idea didnt pan out. Im surprised that people are even still running that CP shit storm.


you went a little too far. Dont encrypt the blocks of data. You only seed content that you support.

You like pewdiepie ? seed it
you like porn? seed it
you dont like child porn? dont seed it

how ever the IP addresses will still be encrypted.

>seedbox use
good idea.
>Part of the cost of operation would be renting a server to seed your content for you at a different part in the globe. Or fans of yours could seed for you as well.
yes, that'd be ideal, but we're no different that regular torrents at the moment except for using some service you've made to convert and host some parts of it. in terms of privacy, it's not great (not that it's great at all using p2p without a vpn). this idea brings up more questions than I have answers for, lots of questions you haven't even thought of yet, that I am sure of.

>This is called freenet, and it's total, utter, shit.
it's not too bad. useful system. get good at freenet, faggot.

So basically acestream? Lol

What's the diffrence from bitchue?

Isn't this basically how popcorntime works?

Every China made video streaming app/service does that. Just steal their code/content and slap English on to it.