        // Tags used for PTS analysis
        var min_pts:Number = Number.POSITIVE_INFINITY;
        var max_pts:Number = Number.NEGATIVE_INFINITY;
+       var min_audio_pts:Number = Number.POSITIVE_INFINITY;
+       var max_audio_pts:Number = Number.NEGATIVE_INFINITY;
+       var min_video_pts:Number = Number.POSITIVE_INFINITY;
+       var max_video_pts:Number = Number.NEGATIVE_INFINITY;
        var ptsTags:Vector.<Tag>;
 
       // reset IO error, as if we reach this point, it means fragment has been successfully retrieved and demuxed

      }

		/** Kill any active load **/
		private function _clearLoader():void {
			if(_fragstreamloader && _fragstreamloader.connected) {
				_fragstreamloader.close();
			}


        public function loadfirstfragment(position:Number,callback:Function):Number {
            Log.debug("loadfirstfragment(" + position + ")");
            // reset IO Error when loading first fragment
            _bIOError = false;
            _need_reload = false;
