           }
           if(event.bytesLoaded == event.bytesTotal) {
             Log.debug("loading completed");
+            var _loading_duration:uint = (new Date().valueOf() - _frag_loading_start_time);
+            Log.debug("Loading       duration/length/speed:"+_loading_duration+ "/" + _last_segment_size + "/" + ((8000*_last_segment_size/_loading_duration)/1024).toFixed(0) + " kb/s");
             _cancel_load = false;
             if(_decryptAES != null) {
               _decryptAES.notifycomplete();


    /** Handles the actual reading of the TS fragment **/
    private function _fragReadHandler(audioTags:Vector.<Tag>,videoTags:Vector.<Tag>,adif:ByteArray,avcc:ByteArray,audioPID:Number=-1,audioTrackList:Vector.<HLSAudioTrack>=null):void {
       var audio_index:Number;
       var audio_track_changed:Boolean = false;
       audioTrackList = audioTrackList.sort(function(a:HLSAudioTrack,b:HLSAudioTrack):Number { return a.id - b.id; });


      // Calculate bandwidth
      _last_process_duration = (new Date().valueOf() - _frag_loading_start_time);
      _last_bandwidth = Math.round(_last_segment_size * 8000 / _last_process_duration);      
      Log.debug("Total Process duration/length/speed:"+_last_process_duration+ "/" + _last_segment_size + "/" + ((8000*_last_segment_size/_last_process_duration)/1024).toFixed(0) + " kb/s");
      
      if(_manifest_just_loaded) {
         _manifest_just_loaded = false;
