         private var _levelController : LevelController;
         /** reference to audio track controller */
         private var _audioTrackController : AudioTrackController;
+	private var _discTracker: DiscontinuityTracker;
         /** Reference to the manifest levels. **/
         private var _levels : Vector.<Level>;
         /** Util for loading the key. **/

	    var scheduler: FragScheduler = _schedulers[frag.level+'/'+frag.seqnum];
	    if (!scheduler)
	    {
	        scheduler = _schedulers[frag.level+'/'+frag.seqnum] = new FragScheduler(_audioTrackController, _hls, _levels, _streamBuffer, _schedulerComplete, _schedulerError,
		    _handleParsingError);
    	    }
            scheduler.add_ldr(ldr, ldr_id);

    private var _hls: HLS;
    private var _levels: Vector.<Level>;
    private var _streamBuffer: StreamBuffer;
    private var _discTracker: DiscontinuityTracker;
    private var _handleParsingError: Function;

    public function FragScheduler(audioTrackController: AudioTrackController, hls: HLS, levels: Vector.<Level>, streamBuffer: StreamBuffer, discTracker: DiscontinuityTracker, oncomplete: Function, onerror: Function,
        handleParsingError: Function)
    {
        _audioTrackController = audioTrackController;
