Red5 CMS

Hope you already read our article for Media Streaming CMS. Using Red5 CMS you can manage your Red5, Wowza, RTMP streams and publish using open source player. You can track your media content and embed on other websites. Red5 Admin Login Red5 CMS Home Red5 CMS Categories Red5 CMS Add Categories Red5 Server Infomation Red5 … Read more

Wowza Live Cam Secure Expired Token

wowza-live-cam-secure-expired-token.php // Encrypt original stream URL http://wowza-server:port/stream/playlist.m3u8 $base64ized = encryptDecrypt($secret_key, $streamURL, 0); // Decrypt stream URL $streamURL = encryptDecrypt($secret_key, $base64ized, 1); stream.php // Expire stream URL after time interval & check secure token if (($current – $timestamp)

Best PHP Encryption Decryption

I was working on Secured & Expired MP3 Link in HTML5 MP3 Player. Hope you already read previous article “Amazon S3 Expiring Link” You can use below code for hiding real mp3 link inside html source using base64_encode, mcrypt_encrypt, base64_decode, mcrypt_decrypt and md5. This function is also useful when you need to secure & expire … Read more

Amazon S3 Expiring Link

I was working on Amazon S3 Cloud HTML5 MP3 Player for S3 Bucket security and Expiring Media links. <?php   if(!function_exists(‘el_crypto_hmacSHA1’)){       /**       * Calculate the HMAC SHA1 hash of a string.       *       * @param string $key The key to hash against       * @param string $data The data to hash       * @param int $blocksize Optional blocksize       * … Read more

PHP Run Background Process using Exec

If you need to start process in background and get its PID to manage it later using PHP. <?php function runInBackground($command,$log,$priority=0) { if($priority)    $PID=shell_exec(“nohup nice -n $priority $command > $log 2>&1 & echo $!”); else    $PID=shell_exec(“nohup $command > $log 2>&1 & echo $!”); return($PID); } ?> echo $! will return process ID # Command & … Read more

Facebook Adding an App to a Page

You can provide App to Fan Page Tab using URL, but you must check below options to get App (Page Tab) Added Page ID? https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&next=YOUR_URL After successful authorization users will redirect to your Site URL with pageID http://www.domain.com/?tabs_added[pageID]=1#_=_ Integrating with Facebook APIs When a user selects Page Tab and authorize your application, you receive the … Read more

Amazon S3 Cloud HTML5 MP3 Player

Amazon S3 Cloud HTML5 Player plugin that allows you to link to your amazon S3 bucket and sets up a HTML5 Player playlist (horizontal or vertical). This plugin will support MP3 files only. Amazon S3 Cloud HTML5 MP3 Player is not associated in any way to amazon.com Get Self Hosted Amazon S3 Cloud HTML5 MP3 … Read more

Amazon S3 Error Handling

Amazon S3 PHP Class A standalone Amazon S3 (REST) client for PHP 5.2.x using CURL that does not require PEAR. AMAZON S3 (Scalable Storage in the Cloud) PHP CLASS // AWS access info if (!defined(‘awsAccessKey’)) define(‘awsAccessKey’, ‘CHANGE-KEY’); if (!defined(‘awsSecretKey’)) define(‘awsSecretKey’, ‘CHANGE-KEY’); OO method (e,g; $s3->getObject(…)): $s3 = new S3(awsAccessKey, awsSecretKey); Statically (e,g; S3::getObject(…)): S3::setAuth(awsAccessKey, awsSecretKey); … Read more