 							
 						}
 					}
-	
+					
 					break;
 			
 				case NotificationType.PLAYER_UPDATE_PLAYHEAD:

					break;
				
				case NotificationType.DO_SWITCH:
					if (_isWv)
					{
						var preferedFlavorBR:int = int(note.getBody());
						var index:int = _mediaProxy.getFlavorByBitrate(preferedFlavorBR);
						//index is zero based, track is not
						index++;
						trace ("--select track ", index);
						_wvPluginInfo.wvMediaElement.netStream.selectTrack(index);
						sendNotification( NotificationType.SWITCHING_CHANGE_STARTED, {currentIndex : String(index)});
					}

				
				case "NetStream.Wv.SwitchUp":
				case "NetStream.Wv.SwitchDown":
					_wvPluginInfo.wvMediaElement.netStream.parseTransitionMsg(e.info.details);
					//first time we get bitrates info - save it to kalturaflavorarray
					if (_mediaProxy.vo.forceDynamicStream && !_mediaProxy.vo.kalturaMediaFlavorArray)
					{

						var bitrates:Array = _wvPluginInfo.wvMediaElement.netStream.getBitrates();
						if (bitrates) 
						{
							var flvArray:Array = new Array();
							for (var i:int = 0; i<bitrates.length; i++)
							{
								var fa : KalturaFlavorAsset = new KalturaFlavorAsset();
								fa.bitrate = bitrates[i] * 8 / 1024;
								flvArray.push(fa);
							}
							_mediaProxy.vo.kalturaMediaFlavorArray = flvArray;
						}
						_mediaProxy.vo.autoSwitchFlavors = true;
					}
				
					
					var newIndx:int = _wvPluginInfo.wvMediaElement.netStream.getCurrentQualityLevel() - 1;
					_mediaProxy.vo.preferedFlavorBR = _mediaProxy.vo.kalturaMediaFlavorArray[newIndx].bitrate;
					sendNotification( NotificationType.SWITCHING_CHANGE_COMPLETE, {newIndex : newIndx , newBitrate: _mediaProxy.vo.preferedFlavorBR}  );
					break;

				
				/*	case "NetStream.Buffer.Empty":
				
