Tuesday, November 22, 2011

Flash Player 10.3 Advanced Echo Cancellation(AEC) Errors

Flash Player 10.3 Advanced Echo Cancellation(AEC) Errors




VerifyError: Error #1014: Class flash.media::MicrophoneEnhancedOptions could not be found
TypeError: Error #1006: getEnhancedMicrophone is not a function

Add following line to your compiler arguments window in Flash Builder:
Project > Properties > Additional compiler arguments:

-swf-version=12


Just to be sure, here you can get the SDK. You will need 4.5


http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4

http://download.macromedia.com/pub/labs/flashplatformruntimes/flashplayer10-3/flashplayer10-3_playerglobal_052011.swc


----- Conditional code ---

if ((getFlashPlayerVersion() >= 10.3) && (phoneOptions.enabledEchoCancel)) {
 mic = Microphone(Microphone["getEnhancedMicrophone"]());
 var options:MicrophoneEnhancedOptions = new MicrophoneEnhancedOptions();
 options.mode = MicrophoneEnhancedMode.FULL_DUPLEX;
 options.autoGain = false;
 options.echoPath = 128;
 options.nonLinearProcessing = true;
}
public static function getFlashPlayerVersion():Number {
 var versionString:String = Capabilities.version;
 var pattern:RegExp = /^(\w*) (\d*),(\d*),(\d*),(\d*)$/;
 var result:Object = pattern.exec(versionString);
 if (result != null) {
  return Number(result[2] + "." + result[3]);
 } else {
  return 0;
 }  
}




Reference : http://www.eliatlas.com/blog/2011/06/19/flash-player-10-3-echo-cancellation-errors/

Saturday, November 19, 2011

Changing IP Address of Big Blue Button installation

Changing IP Address of Big Blue Button


 if the output from ifconfig shows your VM is listening to IP address 192.168.0.125, then issue the following command
  sudo bbb-conf --setip 192.168.0.125
If you need to restart BigBlueButton, do the command

   bbb-conf --clean
and this will do a clean restart.

Tuesday, June 07, 2011

TSL - TARGET Specific Langauge

TSL - TARGET Specific Langauge

TSL is a DSL (Domain Specific Langauge) created for TARGET. TARGET is a Web Test automation framework I have created on top of existing open source project "Selenium". TSL will let you create test cases using plan english with NO or less knowledge of programming langauges like java, php etc.

A Sample TSL Script


open "http://www.google.com" in IE
click on "Maps"


The above two lines are valid TSL commands,
first line opens IE browser and loads google.com home page
second line click on "Maps" link on the page

TSL will also support scripting langauges like JQuery, Groovy, Javascript etc , You can use any of these script to create new custom TSL commands.