Skip to main content
Participant
December 6, 2010
Question

Flash Media Server Streaming is very choppy

  • December 6, 2010
  • 2 replies
  • 1659 views

We are running Adobe Flash Media Server 3.5.2 Streaming Edition. It is running on a dedicated physical server with 4 cores and 4 gigs of RAM.

I tested the FMS thoroughly before moving to production.  I tested by throttling my bandwidth to simulate different connections.  Streaming worked great, but almost all of the testing was INTERNAL, not external.  We recently started publishing some videos external.  We are getting complaints all over the place that the video is choppy.

During our troubleshooting, we started using one of the native videos from the FMS install.  The video is only 5 MB.  We have tested from several different connections... Fiber, Cable, DSL.... The test video from our Flash Media Server is choppy... It buffers quickly all the way through playback, it is horrible.  We published the same video on a public FMS and it works flawlessly from all of our test connections.  Our expert developer has published a CF page with both videos, one from our FMS and one from the public.

Here is an example of what I'm talking about.  The connection speed at the time was 9 mbps!

http://www.screencast.com/t/NSoX6CgJFUqe

The most simultaneous streams has been 3-4, and that was all from our testing, so I know the server is not over loaded.  Streaming on the internal network is flawless, even with very large videos.  We are very new to this product, so i'm not sure what the issue is.  I called Adobe and they wanted $500 just to talk about the issue, even though we only paid $1000 for the entire product! 

**Note: We are streaming through a Checkpoint Firewall and IPS.  I have involved 2 people from our network/security team and they do not see any drops or issues from their hardware.

Can anyone provide some assistance or give us ideas of what to look at?  Thanks!!

    This topic has been closed for replies.

    2 replies

    Participating Frequently
    December 8, 2010

    Hi Wolfman,

    I will like to know whether all of your use cases where you are observing choppy playback is vod only case or live cases?

    There are some checkpoints probably that may help you better to identify the issue like whether is it a FMS issue, Flash Player issue, problem with media files or something else, so please try to islolate it as follows:

    - Try with sample video player (you can find it at FMS_Install-Folder\samples\VideoPlayer\VideoPlayer.html) shipped with FMS4 and see if you can again see the problem with this player too (well, seems like you are already using it.. anyway just to make sure..).

    - Check your Flash Player version, and try with an old as well as a new FP version (if available) and watch out the behavior.

    - Note that a very high as well as a very low buffertime may cuase this kind of trouble, in case of low buffertime there will be a lot of rebuffering that may cause the effect, while in case of very high buffertime there will be frequent delay to fill the buffer and again the choppy playback, so you need to finetune the buffertime for your player.

    - Also, check your FLV cachetime (SERVER.FLVCACHE_MAXSIZE) in fms.ini file (inside FMS_install folder/conf), try to increase the value and see if it solves your problem.

    - You may also like to finetune the following tags in your application.xml for a better experience:

      <Bandwidth override="yes">
       <!-- Specified in bytes/sec. The default provides about 20Mbps. -->
       <ServerToClient>2500000</ServerToClient>
       <!-- Specified in bytes/sec -->
       <ClientToServer>2500000</ClientToServer>
      </Bandwidth>

    - Also check there should be no BW issues, check out the media file bitrate and your BW speed, it should be sufficient to push the data from your server to the client.

    Please give it a shot and let me know if it helps you.

    Graeme Bull
    Community Expert
    Community Expert
    December 8, 2010

    My suggestion at first would be to get your own video file and make the most basic player you possibly can. Here's a good start for that:

    Tutorial #3: The basics of NetStreams and playing prerecorded FLV files

    Tutorial #14: FMS3 VOD Application Demystified and Virtual Streams

    Tutorial #20: Showing the amount loaded for a streamed video file from FMS

    By building your own you'll be able to knock off any add variables that may be taking effect, like which protocol is being used to stream the file, odd seeking behaviour etc etc.

    And take a look to see if it does act weird. It could be the video player you are using, video file and possibly the Flash Player. I don't know if it would be the server because as you have said it's quite high end, certainly enough for what you want to do.

    Another thought is to remove FMS from the machine completely and reinstall. See how that goes.