Using IPFS for Live Streaming Video?

I’ve been think about this for quite awhile but have not really done anything with it. I did watch a video from a team who actually implemented (hacked) a live video stream using IPFS distribution. I think it was Yurko?

My question is do you think this is doable in the long run or am I wasting time thinking about this?

Disclaimer: I am a live steamer enthusiast from the context of the infrastructure and distribution.
Using CDN for distribution would be cost prohibitive for me right now.

Thanks in advance,

Ray

Welcome to IPFS rayj001!

I think CDN (Content Delivery Networks) are a centralized mechanism which goes against the distributed philosophy of IPFS. Also, CDNs can be used as a single point of failure for a large part of the internet and be a tool to censor.

I think IPFS might be able to work around this with live streaming, if the stream is buffered and chunked into files which could later be stitched together into a sort of play list. Such viewing is already possible in applications like VLC, which lets you seemlessly watch video files in succession.

For such a system to work, there would be a time delay between the actual event, the saving of the buffer and the distribution from that saved file to the other nodes where it would be stored/watched.

I hope you receive some good answers to your question.

Thanks Yeehi,

This is a project I’m looking to dive into once I retire, hopefully in one more year.

Ray

You could also try looking at this problem from the other end, by contacting the OBS (Open Broadcast Studio) community, for example, and asking them if they support IPFS or would like to do so.

I guess this one? :


A related thread :):

This one can be interesting too:

It is possible. I guess one way to do that is to use pubsub with one common topic for your platform with the available streams, etc., and then a topic per stream, that users can join. You can use the peerID of the streamer as a topic name, to save a time for your users (not having to ask around who knows which peers to contact to watch the stream). The app itself or the website can be decentralized via IPFS.

I wouldn’t be surprised if DTube worked similarly. (The difference is that the content on DTube is decentralized, not the platform itself IIRC. It allows them to do the coordination centrally, not via a broader topic.)

On top of that for the actual streaming you will probably plug the logic of Yurko, I guess.

1 Like