Using this code you can add the functionality of peer-to-peer video ...
this script is made mainly for earning purpose with pre roll static ...