     import org.mangui.hls.event.HLSLoadMetrics;
     import org.mangui.hls.event.HLSPlayMetrics;
     import org.mangui.hls.HLS;
+    import org.mangui.hls.stream.HLSNetStream;
     CONFIG::LOGGING {
         import org.mangui.hls.utils.Log;
     }

        }

        private function _manifestLoadedHandler(event : HLSEvent) : void {
            _stats = {};
            _stats.levelNb = event.levels.length;
            _stats.levelStart = -1;
            _stats.tech = "flashls,"+Capabilities.version;
            _stats.fragBuffered = _stats.fragChangedAuto = _stats.fragChangedManual = _stats.fragSkipped = 0;
            _stats.fpsDropEvent = _stats.fpsDropSmoothLevelSwitch = 0;
        };

        private function _fragmentLoadedHandler(event : HLSEvent) : void {

            _hls.removeEventListener(HLSEvent.FRAGMENT_PLAYING, _fragmentPlayingHandler);
            _hls.removeEventListener(HLSEvent.FRAGMENT_SKIPPED,_fragmentSkippedHandler);
            _hls.removeEventListener(HLSEvent.FRAGMENT_LOAD_EMERGENCY_ABORTED,_fragmentLoadEmergencyAbortedHandler);
            _hls.removeEventListener(HLSEvent.MEDIA_TIME, _mediaTimeHandler);
        }

        public function get stats() : Object {
