 	import org.puremvc.as3.interfaces.INotification;
 	import org.puremvc.as3.patterns.mediator.Mediator;
 	
+	import org.osmf.net.httpstreaming.HLSHTTPStreamSource;
+	import org.osmf.events.HTTPStreamingEvent;
+	
 	public class KalturaHLSMediator extends Mediator
 	{
 		public static const NAME:String = "KalturaHLSMediator";

			}
		}
		
		protected function setupSubtitleTrait(trait:SubtitleTrait):void
		{
			_subtitleTrait = trait; // save SubtitleTrait in order to read languages
			if ( _subtitleTrait && _subtitleTrait.languages.length > 0 )

				}
				_subtitleTrait.addEventListener(SubtitleEvent.CUE, sendSubtitleNotification); 
				sendNotification("textTracksReceived", {languages:langArray}); //will triger ClosedCaptions textTracksReceived function, through kplayer onTextTracksReceived listener
			}	
		}
		//var trait:NetStreamLoadTrait = element.getTrait(MediaTraitType.LOAD) as NetStreamLoadTrait;
		protected function setupLoadTrait(trait:NetStreamLoadTrait):void
