Skip navigation
Currently Being Moderated

Buffer performance issue with MediaPlayer object and DynamicStreamingResource

Jul 3, 2012 7:17 AM

Tags: #buffering #urlresource #dynamicstreamingresource

  Steps to reproduce:

1. Create two instances of MediaPlayerSprite.

2. On the first one, use a single URLResource. On the other, use DynamicStreamingResource.

3. When seeking to different points in the video, monitor the bufferLength property on MediaPlayer.

   

Expected Results:

I would expect the buffer to fill at the same rate.

   

Actual Results:

The buffer fills much slower when using DynamicStreamingResource as compared to URLResource.

 

 

Here is an example: http://www.cecentral.com/tmp/presenter-osmf-dsr-test/

 

The video on the left is a single stream, while the video on the right is a dynamic stream. As you play each video, click around the progress bar at the bottom. Take note of how long it takes for each buffer to fill.

 

Any ideas?

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points