Video hosting providers are traditionally very savvy on their upstream bandwidth. If you need to reduce your bandwidth usage and increase your margin, cacaoweb P2P CDN can surely be a solution. It is free (as in beer), open and opensource. cacaoweb is also very reliable and doesn't have any point of failure. Furthermore, because the video is streamed to the user through multiple TCP connections in a P2P fashion, you can circumvent ISP's bandwidth limitations and, for example, stream HD content seamlessly to the users.
If you need more information or help, you can get in touch with us through the forum first.
If you want to publish your files or videos, you can use the cacaoweb network to save most or all of your bandwidths costs. cacaoweb will also allow to distribute high definition content smoothly or other content with high bandwidth requirements since it distributes the bandwidths load among various peers. Finally, because of its fully decentralized P2P infrastructure, it provides a CDN without any point of failures for mission critical distribution of content.
It is very easy to distribute your files through the cacaoweb network. You can use one of the 3 following options :
In the case you have a server with decent bandwidth (>10Mbits), you can seed the files you want to publish yourself. To do that, assuming you have a command prompt open and have the cacaoweb executable in the current directory, you can use the command :
$ ./cacaoweb -sf MyFile1.zip -sf MyNewMovie-Bdrip.mp4
You should then calculate the md5 of your files by typing the following command :
$ ./cacaoweb -md5 MyFile1.zip $ ./cacaoweb -md5 MyNewMovie-Bdrip.mp4
The MD5 will be used later to construct the download link that you will provide to your users.
Your files and movies will then be available to everyone (providing they have cacaoweb installed) by the following ways :
See our forum for more information or to get help
We have developed a Javascript and a web api to let you integrate cacaoweb smoothly in your website flow. Integrating cacaoweb in your website is a straightforward process.
We show you here a few examples to get you started. Note that Javascript preferably needs to be enabled on the host browser, though not strictly needed. In the following examples, we show how to integrate cacaoweb in your website only when Javascript is enabled, so if you need to address non-Javascript users as well, just have a look at the source code of cacaoweb api and things should get pretty clear for you.
Follow these steps :
1. include cacaowebapi.js in your webpage This script will create a variable within the current javascript context called "cacaowebStatus". This variable can take three values : "On", "Off", "Unknown". "On" means it's on, "Off" means it's off, "Unknown" means it's in the process of being updated. It is updated usually pretty quickly, a few seconds at most.
2. to launch the video playback, the player should access the url "http://127.0.0.1:4001/megavideo/megavideo.caml?videoid=PTHE7UWL", where PTHE7UWL should be replaced by the actual video id of the megavideo video.
Since you need to provide your customers with a smooth user experience, you can integrate the following official cacaoweb goodies in your website. Please don't change the color or shape of these buttons yourself : we rely on these buttons to provide a consistent user experience accross websites.
http://www.cacaoweb.org/images/material/btn-getbt.png
http://www.cacaoweb.org/images/material/btn-getbt_on.png
http://www.cacaoweb.org/images/material/btn-okbt.png
In this example, you will see the text and button change everytime you change cacaoweb status by launching or turning it off.
In here we are also using the file cacaowebapi.css. Feel free to use or customize this file to your needs.