7 Replies Latest reply on Aug 12, 2010 3:08 PM by foolish3737

    autoDynamicStreamSwitch has strange behavior

    foolish3737

      I have an F4M file playing through my mediaPlayer and the autoDynamicStreamSwitch property set to true. I also have the DynamicStreamEvent.AUTO_SWITCH_CHANGE listener applied to my mediaPlayer. I have a break point set up for my listener function but it never fires (hence, indicating a stream switch). If I trace out mediaPlayer.currentDynamicStreamIndex it shows that it switches from stream 0 to stream 5 (only stays on 5 briefly) and then it switches back to stream 0.

       

      So, two questions. 1) Do I have my stream switching listener set up correctly? 2) Why does it only switch between the highest and lowest stream and not the streams in between?

       

      I can provide more details if needed. Thanks!