Hacker Newsnew | past | comments | ask | show | jobs | submit | zkhrv's commentslogin

Hey, that's pretty much the project I've been thinking of doing for a while!

I really dislike the monopoly YouTube has on online video, but other options or self-hosting can become really expensive due to bandwidth (especially if your video suddenly goes viral). I think P2P (over WebRTC, for browser compatibility) has potential for creating a solution.

Roughly:

* You have a Website with some <video>s you want to share hosted somewhere—doesn't matter if it's dynamic, static, hosted on a CDN or a VPS, as long as it imports a few scripts and embellishes the <video> tag with a few details.

* Base case: you want to publish a video, you host the video. That means you host a server at home that is running the hosting software (maybe WebTorrent based, maybe something custom). As high-speed fiber Internet becomes more common, hosting video from a home network becomes more feasible (unless ISPs decide to cock-block it).

* A signaling server establishes a P2P connection (WebRTC datachannels) between a visitor of your Website and your video-hosting home server.

* If you have a fast enough Internet connection (100+ Mbps) and low traffic, I don't see why the base case shouldn't work (other than network connectivity problems due to complicated NATs and such). If you have a surge of simultaneous traffic, those that came earlier can offload pressure on the home server by seeding the video chunks they have already downloaded. Theoretically, infinite scalability without bandwidth or hardware bottlenecks (but likely coordination woes in practice).

But there's more!

Say there's another person on the Web hosting their videos in the same way. If I like their video, I can re-host it on my own home server and let their signaling server know about it. Now there are two "persistent" video servers hosting the video that a visitor can download from. If I trust this person, I can choose to automatically re-host all their past and future videos.

Moderation isn't a problem, because you explicitly choose which videos to re-host, or because you re-host (future) videos of people you trust.

The more people re-host videos, the better their availability, download speed, and latency if hosts are geographically distributed.

Further ideas of pooling signaling servers and home servers into networks to enable other possible niceties (though likely with a more substantial moderation burden) ...

I've tried a really basic proof of concept of the base case (across a few countries on a mobile network!), and it worked!

Currently, I'm looking to talk with anyone who is interested in any of this :)


If you squint a little bit, what you are describing is a (public) library.


>> Just a suggestion but make the canary/alias less obvious. Companies caught onto this and are treating aliases with their name in it as "fraud" which is of course a load of crap.

> It hasn't caused me any issues yet [...]

Ugh, I ran into this earlier this year when creating an Airbnb account. I tried registering with "airbnb_[randomcode]@[mydomain.com]" and was confused when account creation would error out with an unhelpful error message (don't remember what exactly). After checking with multiple browsers to make sure it's not some browser or uBlock Origin problem, I suspected it might have something to do with the "airbnb" in the alias. Sure enough, I created some temporary alias without "airbnb" in it and ... it worked. I wasn't willing to tolerate their sh— "load of crap" though, so once the account was created I tried to change the email back to "airbnb_[randomcode]@[mydomain.com]" and ... it worked. ¯\_(ツ)_/¯


That's a lovely story. Thanks for sharing!


> I have wondered if perhaps with 3 microphones positioned a specific distance apart from one another, an app could compare their relative volumes and show the user the exact location of a bird.

I am no expert, but I do know that this is possible. It's called acoustic location [1].

> Civilian uses include locating wildlife and locating the shooting position of a firearm.

As to how spaced out the microphones would have to be and to what accuracy the location can be determined, I cannot say (but my guess would be "pretty accurate").

Another interesting challenge would be to determine the location of multiple birds in different locations. Perhaps isolating specific bird calls with some ML model and then acoustic-locating that specific call. I can imagine the application showing which bird is calling from where in 3D.

[1] https://en.wikipedia.org/wiki/Acoustic_location


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: