         private var _media : MediaElement;
         private var _audioTrackList : Vector.<AudioTrack>;
         private var _numAlternativeAudioStreams : int;
-        private var _transitionInProgress : Boolean = false;
         private var _activeTransitionIndex : int = DEFAULT_TRANSITION_INDEX;
         private var _lastTransitionIndex : int = INVALID_TRANSITION_INDEX;
 

            CONFIG::LOGGING {
            Log.debug("HLSDynamicStreamTrait:_audioTrackChangedHandler");
            }
            _transitionInProgress = false;
            setSwitching(false, _lastTransitionIndex);
        }

        private function _audioTrackListChangedHandler(event : HLSEvent) : void {

            CONFIG::LOGGING {
            Log.debug("HLSAlternativeAudioTrait()");
            }
            _hls = hls;
            _audioTrackList = _hls.audioTracks;
            _numAlternativeAudioStreams = _audioTrackList.length - 1;
            super(_numAlternativeAudioStreams);
            _media = media;
            _hls.addEventListener(HLSEvent.AUDIO_TRACK_SWITCH, _audioTrackChangedHandler);
            _hls.addEventListener(HLSEvent.AUDIO_TRACKS_LIST_CHANGE, _audioTrackListChangedHandler);
