     import flash.events.*;
     import flash.net.*;
     import flash.utils.ByteArray;
+    import flash.utils.Timer;
     import flash.utils.getTimer;
-    import flash.utils.Timer;
+    
+    import org.mangui.hls.HLS;
+    import org.mangui.hls.HLSSettings;
     import org.mangui.hls.constant.HLSLoaderTypes;
     import org.mangui.hls.constant.HLSTypes;
     import org.mangui.hls.controller.AudioTrackController;
     import org.mangui.hls.controller.LevelController;
+    import org.mangui.hls.demux.DemuxHelper;
     import org.mangui.hls.demux.Demuxer;
-    import org.mangui.hls.demux.DemuxHelper;
     import org.mangui.hls.demux.ID3Tag;
     import org.mangui.hls.event.HLSError;
     import org.mangui.hls.event.HLSEvent;
     import org.mangui.hls.event.HLSLoadMetrics;
     import org.mangui.hls.flv.FLVTag;
-    import org.mangui.hls.HLS;
-    import org.mangui.hls.HLSSettings;
     import org.mangui.hls.model.AudioTrack;
     import org.mangui.hls.model.Fragment;
     import org.mangui.hls.model.FragmentData;

                _fragHandleParsingError("error parsing fragment, no tag found");
                return;
            }
            // parsing complete, reset retry counter
            _fragRetryCount = 0;
            _fragRetryTimeout = 1000;
            CONFIG::LOGGING {
                if (fragData.audio_found) {
                    Log.debug("m/M audio PTS:" + fragData.pts_min_audio + "/" + fragData.pts_max_audio);


            /* try to do progressive buffering here.
             * only do it in case :
             *      first fragment is already loaded
             *      or if first fragment is not loaded, we can do it if
             *          startLevel is already defined (startLevel is already set or
             *          startFromLevel/startFromBitrate not set to -1
