Log in Register

Login to your account

Username *
Password *
Remember Me

Create an account

Fields marked with an asterisk (*) are required.
Name *
Username *
Password *
Verify password *
Email *
Verify email *
Captcha *


WMLE / WMLE HD are the only product online today which supports RTMP as well as RTMFP out of the box. RTMFP is a relatively new protocol by adobe's flash player 10 which forms a baseline for p2p communication. Meaning you can broadcast video/audio to clients without the need of any server.

For handshaking although Adobe cirrus rendezvous service may be used. You can get more info on RTMFP and your cirrus key from Adobe's webpage:


Once you have the key, you can follow the steps below to setup p2p streaming using WMLE and our very own free p2p multicast player.

Setting up broadcaster:

  1. Get your free Adobe cirrus key from: http://labs.adobe.com/technologies/cirrus/ Your key will look like this:rtmfp://p2p.rtmfp.net/xxxxxxxxxxxxxxxxxxxxxxxxxxx/
  2. Next you decide your channel name, which can be a small length alpha numeric string.This can be thought of as a scope. Since we want to be able to broadcast in our own space we need to use a unique channel name.
  3. Finally choose your stream name that you want to broadcast. this can again be a simple string.
  4. So once you have all the information mentioned above, your broadcast information will look like this:

URL: rtmfp://p2p.rtmfp.net/xxxxxxxxxxxxxxxxxxxxxxxxxxx/channel

Stream Name: demostream
So now substitute URL for the rtmp url and stream name in configuration files of the WMLE package you can set up WMLE for p2p broadcasting.


Setting up p2p player backend service:

  • Download WMLE-P2P patch from our freebies download section
  • Extract and copy all the files into your WMLE /WMLE HD install location, maintaining the directory structure as shown below:

sampleplayer.php (copy to root of WMLE/WMLE HD installation

Services/PeerToPeer.php (copy to flashservices/Services/PeerToPeer.php

includes/lib/cryptlib.php (copy to flashservices/includes//lib/cryptlib.php

swf/viewer.swf (copy to swf/viewer.swf 


Edit the file services/PeerToPeer.php and make necessary changes to the section shown below. You can add more streams by duplicating this line and making changes.

{codecitation class="brush: php; gutter: true;"}

"idcode" => array("channel" => "channelname","password" => "somepassword","stream" => "demo","rtmfp" => "rtmfp://p2p.rtmfp.net/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/")



"idcode" => An aphanumeric id code to help retrieve playback details

"channelname" => The channel name. Same as used in WMLE when broadcasting

"password" => protection password (Not required)

"stream" => The stream name as used in WMLE when broadcasting

"rtmfp" => Your RTMFP url

Once the stream setup is complete you need to set the domains that are allowed to read data from this service. This provides greater level of security for your broadcast. To add/remove domains edit the following:

{codecitation class="brush: php; gutter: true;"}

/* An array of html domains */

var $htmlDomains = array(




/* An array of swf domains */

var $swfDomains = array(





Note: For allowing a domain, it must be added to both html domains and swf domains.



Setting up p2p player frontend:

Edit the file, sampleplayer.php as shown below and set the same idcode that you did in backend service. This helps the player to retrieve the playback details from service by matching the idcode.


{codecitation class="brush: php; gutter: true;"}

flashvars.cid = "idcode";

flashvars.password = "PASSWORD";


"idcode" => An aphanumeric id code to help retrieve playback details



Note: The password for encryption is "PASSWORD" by default, and can be changed. To change this you need to make changes in PeerToPeer.php and sampleplayer.php where-ever it occurs.