VerifyError: Error #1014: Class flash.media::MicrophoneEnhancedOptions could not be found.
Hi
In the adobe help there is much talk about AEC and sample codes for AEC.
I have downloaded flex sdk 4.5 ,AIR SDK 2.6 which are most recent builds.Installed Flash player 10.3 and AIR runtime 2.7 release candidate.
While using the following code for echo supression:
var mic:Microphone = Microphone.getEnhancedMicrophone();
mic = Microphone.getEnhancedMicrophone(0);
var options:MicrophoneEnhancedOptions = new MicrophoneEnhancedOptions();
options.mode = MicrophoneEnhancedMode.FULL_DUPLEX;
options.autoGain = false;
options.echoPath = 128;
options.nonLinearProcessing = true;
mic.enhancedOptions = options;
the following error occurs both in Web version as well as AIR version.
I have included the playerglobal.swc in both the version of applications in the folder frameworks\libs\player\10.3
In both case it is giving the following error:
********************************************************************* **************
[SWF] AudioChatClient_1.swf - 2,683,701 bytes after decompression
typecheck AudioChatClient_1/startPubishing()
outer-scope = [global Object$ flash.events::EventDispatcher$ flash.display::DisplayObject$ flash.display::InteractiveObject$ flash.display::DisplayObjectContainer$ flash.display::Sprite$ mx.core::FlexSprite$ mx.core::UIComponent$ spark.components.supportClasses::SkinnableComponent$ spark.components.supportClasses::SkinnableContainerBase$ spark.components::SkinnableContainer$ spark.components::Application$ spark.components::WindowedApplication$ AudioChatClient_1$]
[AudioChatClient_1~
0:debugfile "D:\ECLIPSE_WORKSPACE\FLASH_BUILDER\AudioChat\src;;AudioChatClient_1. mxml"
[AudioChatClient_1~
2:debugline 54
[AudioChatClient_1~
4:getlocal0
[AudioChatClient_1~
5:pushscope
[AudioChatClient_1~
6:pushnull
[AudioChatClient_1~
7:coerce flash.media::Microphone
[AudioChatClient_1~
9:setlocal1
[AudioChatClient_1~
10:pushnull
[AudioChatClient_1~
11:coerce flash.media::MicrophoneEnhancedOptions
VerifyError: Error #1014: Class flash.media::MicrophoneEnhancedOptions could not be found.
at AudioChatClient_1/__pub_btn_click()
********************************************************************** *****************
My system specifications are:
OS: Microsoft Windows XP SP3
Intel Core 2 duo Processor with 2 GB RAM
Flash Builder 4.0
If possible could you provide the information of AIR SDK 2.7
Thanks
Sudhansu Sekhar Rana
