Skip to main content
Known Participant
April 11, 2012
Question

Rebuffering

  • April 11, 2012
  • 2 replies
  • 1791 views

Hi guys,

what to set in FMS config files to help me with rebuffering on client side?

The player (flash, rtmp) rebuffers a lot (approx. twice a minute) with no good reason - i've tried several players with various buffer settings, clients and server have sufficient bandwidth for the stream (live streaming) - so i guess this can be helped server side - can it and how?

Please help.

This topic has been closed for replies.

2 replies

Patel Bharat
Inspiring
April 13, 2012

The size of the buffer depends on two factors:

Desired latency: The larger the buffer, the longer it takes for the stream to start.

Stream stability: Larger buffers allow the stream to deal with noise and interruptions better on the network. Making

the buffer bigger increases the chance that the stream will play through without any stutters, gaps, or other interruptions.

These two factors are conflicting: Ideally the stream should both start quickly and be stable. One way to deal with this situation is to have two different buffer settings, one for when the stream starts and one for when the playback is in progress. This strategy significantly reduces the conflict. It allows a small buffer to be set for fast start, and a longer one to be used to ensure stream stability when playback begins. Because network issues can still affect the initial buffer size, the initial buffer size cannot be arbitrarily small.

Live applications that use the Live Aggregate Messages feature on Flash Media Server to improve performance need to use a buffer that is at least as long as the delay introduced by the live aggregation. The delay is 500ms (0.5s) by default but can be configured on a per-application basis. If the buffer isn't long enough, the stream will not play back smoothly.

For dynamic bitrate switching, Adobe recommends using a buffer length value that is equal to the keyframe frequency of the encoded video.

Patel Bharat
Inspiring
April 12, 2012
nnmkAuthor
Known Participant
April 12, 2012

Thanks...

Although i expected that some fms config server side can be helpfull for standard buffering - so, nothing in fms configs?

Patel Bharat
Inspiring
April 13, 2012

Yes, there is nothing like config at FMS server side to define buffering setting.