Skip to main content
June 23, 2010
Answered

Dynamic Bitrate Switching on Live Stream

  • June 23, 2010
  • 1 reply
  • 1214 views

I have FMIS 3.5.  I've installed it with pretty much all the default values.  I haven't changed any of the settings in either the  LIVE or the VOD applications.

Dynamic Bitrate Switching is working well for VOD, but not working at all for LIVE streams. Doing a regular bandwidth detection on both the LIVE and the VOD applications give similar, high bandwidth results.  However, the LIVE application  NetStreamInfo.maxBytesPerSecond is showing a very low bandwidth capability of around maxBytesPerSecond = 19016, where as for the VOD its achieving around 637110. I can play a single LIVE stream of a high quality smoothly without any error.

I don't know if this is relevent but I'm getting some error messages occassionally in the log of the live application saying : Dropping application (live/_definst_) message. Clients not allowed to broadcast message.  These messages aren't consistent, and don't coincide with trying to use bitrate switching.

I have tried downloading the Adobe sample StreamSwitching.fla and it won't play the LIVE streams at all.  Using the opensource Longtail Video player it just always defaults to the lowest stream.  Here is an example: http://www.ltscotland.org.uk/testbed/live/livestream2.asp

Can anyone suggest what the problem might be here?  And any possible solutions?

    This topic has been closed for replies.
    Correct answer Asa_-_FMS

    Have you checked out this guidance on Live Dynamic Streaming

    http://www.adobe.com/devnet/flashmediaserver/articles/dynstream_live.html

    One of the important guidances in there is on settings for settings for just this application.  Typically we find that they need to be a little different than the default in order to get a good experience and this article hits those settings nicely.

    Asa

    1 reply

    Asa_-_FMS
    Adobe Employee
    Asa_-_FMSCorrect answer
    Adobe Employee
    June 24, 2010

    Have you checked out this guidance on Live Dynamic Streaming

    http://www.adobe.com/devnet/flashmediaserver/articles/dynstream_live.html

    One of the important guidances in there is on settings for settings for just this application.  Typically we find that they need to be a little different than the default in order to get a good experience and this article hits those settings nicely.

    Asa

    June 25, 2010

    Thanks,I have read that article.  Based on that article the NetStreamInfo.maxBytesPerSecond is not an accurate measurement to base dynamic switching on. This seems to be the basis of the bitrate switching in both the longtail player, and the adobe examples that I have tried.   That article suggests using the dropped frames property, in conjunciton with bufferlength to determine if switching is neccessary.  Unfortunately I can't seem to find a player online which handles this successfully.  That being said, I can't believe I'm the only person trying to implement dynamic bitrate switching for live streams so surely there are some players out there which can do this successfully?  If anyone knows of any code available which does this successfully I would appreciate knowing where!  The examples provided by Adobe https://www.adobe.com/cfusion/entitlement/index.cfm?e=fms35 unfortunately don't work either.