Skip to main content
Participating Frequently
November 18, 2009
Question

Help on stuttering video after FMS call Stream.get('liveBroadcastStream').play('liveFeedFromFMLE', -

  • November 18, 2009
  • 2 replies
  • 914 views

Hi,

We recently encountered a very strange issue that we urgently need help:

With FMS 3.5, we created a new live application according to relevant documentations. Within this application (main.asc), on periodically basis (e.g. 45 seconds), we use Stream.get('liveBroadcastStream').play('liveFeedFromFMLE', -1, -1, true) to (potentially) switch between different live feeds published by different FMLE. All work like charm except one annoying/important issue: sometimes (but not always), after a server-side call of Stream.play, we see severe stuttering/choppy video from flash client player.

Any help that will lead to the resolution of the problem will be greatly appreciated!

Some background information:

1. All testing were done within LAN environment with just a few machines which mean loads were very low; so we can rule out bandwidth insufficiency issue. Also CPU usages were low across all computers involved.

2. The stuttering and choppyness occurs with the 'liveBroadcastStream', not with the source stream which is 'liveFeedFromFMLE'. In other words, we used flash player to check out the source stream, and it looked fine.

3. When the video was jerky, the accompanying audio sounded OK.

4. We tried to set the flash client buffer length to be 15 seconds, and it did not help.

5. The stuttering occurs immediately after the Stream.play function call.

6. The described sympton occurs quite often, but not always. We were not able to identify the exact cause. It does not seem to show any easy clue.

7. In the repro case, we called Stream.get('liveBroadcastStream').play('liveFeedFromFMLE', -1, -1, true)  every 45 seconds with no parameter changes.

Again, we are urgently waiting for professional help!

Regards.

Xiaohai

    This topic has been closed for replies.

    2 replies

    Participating Frequently
    November 26, 2009

    Could it be related to the threading model in FMS? I got two periodical calls in my server app. One to

    perodically query for new streaming tasks and put the results in a queue. And the other to remove the head entry from the queue and

    play it at the specified time.

    The first call is through a web service which could be lengthy.

    We did this because the server side playlis does not allow specifying, e.g., playing a video file at 7pm exact.

    Participating Frequently
    November 30, 2009

    anybody home?

    Asa_-_FMS
    Adobe Employee
    Adobe Employee
    December 1, 2009

    We're still here.  We're going to have to identify what's going on in your live streaming case.  I recommend activating live logging and posting your results - particularly for the netstream logging case you'll end up with a telling list of messages outgoing from FMS - that should help identify the stutter problem.  You can find the instructions for enabling live logging here.

    http://kb2.adobe.com/cps/495/cpsid_49588.html

    Asa

    Asa_-_FMS
    Adobe Employee
    Adobe Employee
    November 18, 2009

    What version of FMS are you running here?  3.5.2?

    Participating Frequently
    November 19, 2009

    yes, 3.5.2

    Asa_-_FMS
    Adobe Employee
    Adobe Employee
    November 20, 2009

    Please try enabling config: Application/StreamManager/Live/StartClockOnPublish in application.xml file.