Adobe’s free and open source media playback system

Posts tagged "Feedback MediaPlayerSprite"

At the end of the Beta period we sent out a survey to ask for feedback on the framework to date. We also took the top issues reported on the forums. Here are some of the highlights of this project:

MediaPlayerSprite – At the end of Sprint 10, the API lockdown sprint, we removed the MediaPlayerSprite. Not knowing the huge number of developers that wanted this functionality, we received feedback from developers that the MediaPlayerSprite was a much needed class.

For Sprint 11 we’ve retooled the MediaPlayerSprite, added some improvements, and brought it back. It now supports handling a resource directly, and has its own media factory. It exposes the MediaContainer it uses internally for better layout control and flexibility. This reduces the complexity in creating players. A player can be created in as few as three lines:

mps = new MediaPlayerSprite();

addChild(mps);

mps.resource = new URLResource(REMOTE_PROGRESSIVE);

For a complete sample on how to use the MediaPlayerSprite, it’s located under trunk/samples/framework/MediaPlayerSpriteSample in our SVN repository.

Other feedback we’ve addressed recently:

Subclips – Use StreamingURLResource, along with clipStartTime, and the clipEndTime properties to make subclips.

MediaPlayer - property persistence, and more trait events. The MediaPlayer now preserves trait settings, such as autoPlay, and bufferLength, even if the MdiaElement is changed out. The trait events will be dispatched for new MediaElements when they are assigned to the MediaPlayer. This alleviates the need for developers to listen for the Trait add / remove events when tracking properties, such as volume.

DVRCast – A little known feature, bis support for DVRCast. DVRCast was added in Sprint 10. Here is an example of a DVR resource:

new StreamingURLResource

( “rtmp://mysever.com/dvrcast_origin/livestream”, StreamType.DVR)

Media & Streaming Types Supported – Another request we received was an aggregation of the different types of streaming supported, and ways to use them:

Progressive – URLResource to a videos url

RTMP Streaming – URLResource to an RTMP stream

RMTP Dynamic Streaming – DynamicStreamingResource to an FMS app, and a list of stream names.