Flash Player 10.1 and Flash Media Server 3.5.3 support two exciting new buffer management features: Stream Reconnect and Smart Seek. To see them in action, check out this example: Stream Reconnect and Smart Seek example. Right-click on the example and choose View Source to see the code.
The example is also linked from the Flash Media Server 3.5.3 New Features Guide. This doc has all information you need about how to use the Smart Reconnect and Smart Seek ActionScript APIs.
Here’s a quick, high-level view:
With the release of Flash Player 10.1, you can deliver video players that continue to play media seamlessly when a connection is dropped or when a client switches from a wired to a wireless network connection. Adobe Product Manager Kevin Towes says:
We’ve essentially decoupled the buffer from the connection – which allows video to play back even if the connection drops. Developers can use ActionScript to reconnect to FMS and resume playback – and if this is done before the buffer empties, then there will be no perceived disruption.
Flash Media Server 3.5.3 and Flash Player 10.1 work together to support smart seeking in VOD streams and in live streams that have a buffer. Smart seeking uses back and forward buffers to seek without requesting data from the server. You can step forward and backward a specified number of frames. (Standard seeking flushes buffered data and asks the server to send new data based on the seek time.) Smart seeking reduces server load and improves seeking performance. Use smart seeking to create:
•Client-side DVR functionality. Seek a live stream within the client-side buffer instead of going to the server for delivery of new video.
•Trick modes. Create players that step through frames, fast-forward, fast-rewind, and advance in slow-motion.