         private var _keystreamloader : URLStream;
         /** key map **/
         private var _keymap : Object;
+        /** Did a discontinuity occurs in the stream **/
+        private var _hasDiscontinuity : Boolean;
         /** Timer used to monitor/schedule fragment download. **/
         private var _timer : Timer;
         /** requested seek position **/

                Log.debug("loadfirstaudiofragment(" + position + ")");
            }
            var frag : Fragment = _level.getFragmentBeforePosition(position);
            CONFIG::LOGGING {
                Log.debug("Loading       " + frag.seqnum + " of [" + (_level.start_seqnum) + "," + (_level.end_seqnum) + "]");
            }


            if (fragData.metadata_tag_injected == false) {
                fragData.tags.unshift(_fragCurrent.metadataTag);
                if (_hasDiscontinuity) {
                  fragData.tags.unshift(new FLVTag(FLVTag.DISCONTINUITY, fragData.dts_min, fragData.dts_min, false));
                }
                fragData.metadata_tag_injected = true;
            }
            // provide tags to HLSNetStream
