Iragne / PCDN

PCDN is an Peer to peer CDN for video, it's Hybrid CDN/P2P Architecture. HTTP Live Streaming, WebRTC, videojs and peerjs, HLS and Video for broadcasts
http://pcdn.jairagne.ovh
Apache License 2.0
118 stars 40 forks source link

PCDN

PCDN is an Peer to peer/P2P CDN for video based on an hybride solution

It's work with Peerjs , Videojs and WebRTC.

It's a prof of concept so don't focus on the code quality.

I hope you found it interresting and feel free to contact me

An example here http://pcdn.jairagne.ovh

Riquirement

Client

Copy past on your video page this code

<script src="https://github.com/Iragne/PCDN/raw/master/js/apiCDNP2P.js"></script>
<script>
    apiCDNP2P({host:"peerjs.jairagne.ovh",port:"9000",key: 'peerjs',debug:3});
</script>

Configuration:

Server

PCDN server

My PCDN server is free to use. feel free to make your test on it. For production mode, my advice is to do it by yourself. Or use existing solution like Streemroot or Peer5 .... good article here

host: pcdn.jairagne.ovh port:9000 key:peerjs

Your own PCDN server

$ cd server/peerjs-server
$ npm install
$ cd bin
$ node peerjs --help

Contact

Twitter : @adelskott

TODO