Skip to main content
Known Participant
July 27, 2010
Question

FLVPlayback 2.5 buffering state never ends

  • July 27, 2010
  • 1 reply
  • 1401 views

I'm using the FLVPlayback to load streaming videos from a FMS. The bug that I'm running into is with the

buffering state. Several times the video will enter a buffering state that never ends. The
last video event that's fired in this scenario is the BUFFERING_STATE_ENTERED.
But if I seek the video on the seekbar, it's playing away.

Any idea?

Best regards, tomipont!

    This topic has been closed for replies.

    1 reply

    Adobe Employee
    July 28, 2010

    Hi,

    The BUFFERING_STATE_ENTERED event of the FLVPlayback component is designed to notify when the instance reaches its buffer threshold and begins the buffering process. Unfortunately, there is one critical state that fails to be reported by this event. If, during normal playback, the buffering threshold is reached, the video should pause and enter the buffering state until the bufferTime value is met. However, while a pause state is entered, buffering is not. Moreover, the buffering property is still false, and stateResponsive is still true. I would definitely assume that in a buffering state these values should be true and false, respectively. Subsuquently, the only way to discern a buffer initiated pause from a user initiated pause is to track all other pause occurences, and flag them as user initiated by tracking a boolean value. If, when the PAUSED_STATE_ENTERED event is fired, that boolean value is false, then you know that a buffering state has been entered.

    This is still problematic, no doubt. going about this method of ensuring you are in a buffering state means you absolutely have to catch all occurences of pauses, whether triggered by the FLVPlayback package or by the user,and flag them, to make sure you have isolated buffering related pauses only.

    Regards,

    Amit

    tomipontAuthor
    Known Participant
    July 29, 2010

    Hi,

    Thank you for the answer, but I have an idea: the problem is in the FMS side, because on my local Developer FMS with the same player, the videos played without this error.

    Regards!

    Adobe Employee
    July 29, 2010

    Yes you are right that is because you have enough bandwidth on your local system but when you stream videos on internet then mostly you will see that problem.