1 Reply Latest reply on Dec 21, 2011 10:36 PM by vibsgupta

    Live rtmp dynamicstreamingvideosource with spark VideoPlayer, picks lowest bitrate stream

    ArjenVeneman

      Hi,

       

      I'm publishing 3 live streams on a FMS, bitrates: 1000, 2500, 4000.

      As  the video player i use the spark VideoPlayer. According to the  documentation i can use dynamic streaming by assigning the source  property to this:

       

      <s:DynamicStreamingVideoSource id="myvid"
          host="rtmp://95.211.0.xx/live/">
          
           <s:DynamicStreamingVideoItem id="stream_1" streamName="stream_1" bitrate="1000" />
           <s:DynamicStreamingVideoItem id="stream_2" streamName="stream_2" bitrate="2500" />
           <s:DynamicStreamingVideoItem id="stream_3" streamName="stream_3" bitrate="4000" />
      </s:DynamicStreamingVideoSource>

       

      My problem  is that whenever i start the player it always streams the lowest  bitrate. When i set myvid.initialIndex = 2, it starts with the best  stream, 4000 bitrate, but the quality quickly falls to 1000 kpbs. (I  have enough bandwidth)

       

      What am I doing wrong? Does the FMS need some additional configuration?

       

      Any help will be much appreciated..

       

      kind regards,

      Arjen Veneman.