News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Gonzalo Ayuso's Blog:
Live video streaming with PHP
September 20, 2010 @ 08:46:06

In a new post to his blog today Gonzalo Ayuso talks about video streaming and PHP. Well, okay, not so much using PHP for playing the video, more for the security and streaming around the streaming feeds.

For example we want to show videos only to registered users based on our authentication system. Imagine we're using sessions for validate users. That's means we cannot put the media in a public folder and point our media player to those files. We can obfuscate the file name but it'll remain public. In this small tutorial We're going to see how to implement it with PHP.

Since the video stream he wants to deal with is a live one (and not a single video file that can be read all at once) he shows how to use the output buffering functions in PHP to output small chunks of the data at a time with the correct headers attached.

0 comments voice your opinion now!
video stream live feed tutorial output buffer


blog comments powered by Disqus

Similar Posts

Maarten Balliauw's Blog: Running Memcached on Windows Azure for PHP

DevShed: The Call Magic Function in PHP 5

DevShed: Controlling Online Forms with Builder Objects in PHP 5 (Part 2)

The Shadow Fox Network: Create Dynamic URLs With Mod_Rewrite and PHP Functions

Matthew Weier O'Phinney's Blog: Creating Re-Usable Zend_Application Resource Plugins


Community Events





Don't see your event here?
Let us know!


symfony2 threedevsandamaybe community language refactor developer framework opinion series introduction release interview testing laravel unittest install api code podcast list

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework