Skip to main content
Participant
May 24, 2011
Question

Live rtmp dynamicstreamingvideosource with spark VideoPlayer, picks lowest bitrate stream

  • May 24, 2011
  • 1 reply
  • 1244 views

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.

    This topic has been closed for replies.

    1 reply

    May 25, 2011

    Hi Arjen

    I think the query is more to do with the Spark Video Player. Hence request you to post this question to http://forums.adobe.com/community/flex/flex_general_discussion?view=discussions for a faster resolution.

    Regards

    Mamata