Skip to content

hydraflix/paystream

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Streamium

Decentralized trustless video streaming using bitcoin payment channels

Concept

Streamium is a fully decentralized paid video streaming application. It leverages various prior technologies like bitcoin and WebRTC to achieve trustless pay-as-you-go video streaming with no intermediaries.

Content creators offer their streaming services in exchange for bitcoins using a payment channel with the client, streaming a series of cost-free transactions with no counterparty risk.

Installation

To run Streamium, just serve the root directory using any web server. For example:

cd paystream/
python -m "SimpleHTTPServer"

and then access it from any WebRTC-supporting browser:

http://localhost:8000/

Technology stack

Static web application

Streamium is a static HTML web application and thus requires no servers to run.

AngularJS

AngularJS was used for client-side application code (and there's no server-side code!)

WebRTC

WebRTC is a browser to browser communications protocol used to share video streams between clients and service providers. It allows sharing of data and media without central servers. We use PeerJS to manage WebRTC connections.

Bitcoin payment channels

Bitcoin is a p2p currency used for trustless payments. Bitcoin payment channels are used to establish a secure pay-as-you-go mechanism with no need for a third party.

License

Code released under the MIT license.

Copyright 2014 Streamium developers

About

Decentralized trustless video streaming using bitcoin payment channels

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 96.3%
  • CSS 2.9%
  • Shell 0.8%