Hacker News new | ask | show | jobs
by DanBlake 4491 days ago
I feel like you are avoiding the glaring problems with P2P streaming for live video.

With that, for your first point, let me give you a scenario and please explain

Joe is on his laptop and has 5mb/s upstream connection. He wants to stream a 1080p video at 1mb/s to 10,000 people.

In the case above, without a relay server (as you suggest), How delayed will the data be for viewer 10,001, assuming every peer has the same connection profile at Joe ? Hint - Its going to be minutes, not seconds.

Second question: What happens when several peers in that chain disconnect at once?

Now as far as your second comment, that feels out of place. Bandwidth is bandwidth. If you are on a 100kb/s line in the middle of africa, your preference is going to be a user to server to user streaming environment since it will be reliable and not require other users with little bandwidth available to them to also stream. In fact, using a P2P system will cost them more money, not less. Its going to be inconsistent, unreliable and slower than p2s2p streaming.

1 comments

Hi Dan,

good points -- but they're not the scenarios I'm referring to, and they're extremes around a perfectly usable for 90% of use cases & users.

If Joe wants to stream to Barney and a handful of people then his laptop is fine. If he want to push 10k, then obviously he'll need some help, the maths doesn't stack up any other way. Your original example (and my response to it) mentioned a pair of users with a need for low latency. 10k is obviously going to be different, and we both know that. Let's not be disingenuous here.

PPSP-TP (the tracker protocol) doesn't force Joe's laptop to be the seeder for the entire 10k, it can be managed as discrete swarms, and the tracker protocol can segment or insulate the seeding peer from a larger community if required. But as you rightly point out in this case, help is needed. There's a limit on how much can be streamed based simply on packet size & transfer, even though PPSP is much more efficient than existing protocols due to the way it handles hash management (merkle trees and munro hashes) bandwidth is bandwidth, (latency & asymmetric aside).

Again, PPSP is a transport protocol, not just a live video stream. There are applications even in areas where bandwidth is 100Kb/sc or worse.

If you're really interested in this, please read up on the protocol and contribute some much-needed real world feedback to its development. The next IETF session is, as always, publically accessible, https://datatracker.ietf.org/meeting/89/agenda/ppsp/ next Tuesday 16h10 GMT. It would be great to have you join us!

Again, PPSP is a transport protocol, not just a live video stream. There are applications even in areas where bandwidth is 100Kb/sc or worse.

So PPSP is not just for video streaming. What would other possible applications be?

PPSP as such was designed to have shorter init cycles. So, in principle, it is suitable for smaller assets (federated CDN, that sort of stuff). By the way I do not understand the "servers vs P2P" story. Why not use servers in a PPSP network? The point is pulling the content from arbitrary sources (any sources available), not to get rid of datacenters.
Voice comms?