Live data from Hacker News

PeerTube – Federated video streaming platform using P2P directly in the browser

github.com

11–20 of 52 posts

Re: PeerTube – Federated video streaming platform using P2P directly in the browser

#11
post #4
post #3

It would have been cooler for this to use IPFS instead of its own P2P content distribution. Still cool though.

IPFS does not work in the browser yet.

It surely does, take a look at js-ipfs for full in-browser node (https://github.com/ipfs/js-ipfs) and also js-ipfs-api for communicating with existing go-ipfs/js-ipfs nodes (https://github.com/ipfs/js-ipfs-api)

Disclaimer: I work at Protocol Labs on IPFS

Re: PeerTube – Federated video streaming platform using P2P directly in the browser

#14
post #11
post #4

Earlier quoted context omitted.

IPFS does not work in the browser yet.

It surely does, take a look at js-ipfs for full in-browser node ( https://github.com/ipfs/js-ipfs ) and also js-ipfs-api for communicating with existing go-ipfs/js-ipfs nodes ( https://github.com/ipfs/js-ipfs-api ) Disclaimer: I work at Protocol Labs on IPFS

Does this mean you can actually connect to the real ipfs network from a browser without connecting to a gateway like ipfs.io?

Re: PeerTube – Federated video streaming platform using P2P directly in the browser

#19
post #14
post #11

Earlier quoted context omitted.

It surely does, take a look at js-ipfs for full in-browser node ( https://github.com/ipfs/js-ipfs ) and also js-ipfs-api for communicating with existing go-ipfs/js-ipfs nodes ( https://github.com/ipfs/js-ipfs-api ) Disclaimer: I work at Protocol Labs on IPFS

Does this mean you can actually connect to the real ipfs network from a browser without connecting to a gateway like ipfs.io?

that, you cannot

Re: PeerTube – Federated video streaming platform using P2P directly in the browser

#20
I think for this to be successful you need to encourage users to server the videos. There are a couple things that might help this:

- Popularity could be based not only on views, but how many total minutes of the video were shared by other people.

- When someone watches a video, they have to keep hosting it until they share as much as they've watched it (so if they watched 10 minutes, they have to share it until they've distributed 10 minutes worth of the video to other people.

Post reply on HN