In this tutorial, I will show you how to use xmoov-php to integrate Pseudo-Streaming in PHPmotion. Before I begin the tutorial however, it might be beneficial to explain exactly what pseudo streaming is and how it differs from other methods of providing video content. Here is a detailed explanation of what Pseudo-Streaming is.
Currently PHPmotion uses a video delivery method known as Progressive Download. This type of delivery requires the entire video to be downloaded before you can reach the end. When a video is played, a portion of the video is downloaded into the buffer before it begins. If you attempt to skip to a part of the video that has not yet been downloaded into the buffer, the playhead simply skips to the end of the buffer and usually stops playing until the buffer has had a chance to catch up.
Another method is True Streaming which requires the use of a streaming server software like Adobe's Flash Media Server. This method allows you to skip anywhere on the video timeline without having to wait on a buffer. This method works great, however it can be difficult to set up and expensive.
Then comes Pseudo-Streaming. Technically this method is still Progressive Download but with the added benefit of being able to skip anywhere on the video timeline without having to wait for the entire video to load. This is the method we will be discussing today.
Add a comment
