Holochain Forum

Video Streaming App


I’m a rather large noob when it comes to app development and blockchain/holochain. I was wondering how well a video streaming app would work if developed on holochain - is this at all feasible?

Say if an app like Tik Tok was built on holochain, how would its progression as an app differ? What about all the AI stuff? Sorry for the super basic questions, just a man with some ideas and little technical experience.

Hi Dan @PavPowell, thanks for joining us on the Holochain Forum and for the inquiry.

Earlier in the year, we received a similar question. Re: Tiktok on Holochain. Below is the response I shared based on my discussions with some of our devs.

If streaming is a main driver, there are a few options. See below for things the project will need to consider. We will need to know some of their functional requirements to better assess the project.

Initial thoughts:

  • We would need to know what kind of validation is needed (e.g. skrumble uses blockchain to establish a secure session, but then the video streaming happens offchain p2p ^^).

  • Static files can be stored in IPFS/bittorrent, etc.

  • Holochain can just store the merkle root or IPFS url etc. + metadata about the file for validation logic.

  • Holochain is not at all a file storage system or a real time streaming technology.

  • Holochain is about data validation and workflows.

  • There are plenty of existing projects tackling file storage (e.g. storj, sia, maidsafe, ipfs, filecoin, bittorrent, resilio).

  • P2P file storage is almost as old as the internet itself.

Conclusion/Next Steps:

  • Something similar to skrumble could be done on hc, where peers establish a session via hc, then stream video data though webrtc or something.

  • Important: FYI, looking at “fat client, skinny server” setups, there are 3 things servers must handle on traditional infrastructure. 1. secure workflows 2. persistence 3. long-running processes/queue runners. Holochain is mostly the 1st one (secure workflows). We have a graph database-style persistence for the second (but not really heavy media yet), and not much going for the last one.

Additional Information:

  • TikTop App - How to Implement on Holochain
  • 15 second limit (makes it possible on Holochain)
  • Technically possible to put/store videos on Holochain (in the DHT, small files).
  • Video Storage - A social media app for sharing on Holochain is technically possible.

Video Streaming

  • Integrate and use another tech stack
  • Will need a centralized architecture
  • Send to single server and that server handles it
  • Can we use Holo for streaming?
  • Develop POC to demonstrate that you can store videos on Holochain without servers to show that Holochain is a viable solution.

  • Standard Holochain app where you have one type of entry for the video and you can push to and get from the DHT videos.

Things to consider:

  • You will want to work to flesh out your idea/concept and determine what you would like to achieve. Perhaps partner up with someone to discuss the idea.
  • On a side note, are you using TikTok? It seems like a great platform for organic reach. I understand it’s quite popular among teens.

Thanks for your reply!

To give you a better idea, the app i have in mind is a live debate/ideas video streaming platform that streams users simultaneousy in split screen.

There are two settings I am considering:

-Users have a set topic and a defined time limit to argue their positions and at the end a vote decides which wins.

-Users simply converse on a topic or whatever they like, no voting and no time constraints.

This is the basic idea, the inspiration for it comes from watching 2 users of the singing app Smule argue about the ethics of eating meat. It was lively, interesting and they treated eachother with respect which is something i seldom see on social media platforms (probably due to the face to face element).

Users could also join the conversation by “picking up the mic” which is a concept borrowed from smule whereby people can request to join the conversation. Seems to work for people singing awfully at eachother, why not internet discourse?

So is live streaming more or less feasible? This is long form content, so if tiktok is technically possible what about something like twitch?

Yes live streaming is possible, but it would need to be supported by other technologies.

I think it would be wise to iron out your needs/requirements and perhaps try a proof of concept. Tiktok and Twitch are different platforms and should be assessed accordingly.

I would refer back to the Video Streaming section as that seems applicable for Twitch.

Yeh you would not use holochain for the actual streaming as @dhtnetwork says. You might use it for the debating and conversation though.
The next step would be try try and come up with a minimal set of features you want and see what that looks like on holochain.

1 Like