Skip to main content
Participant
May 31, 2011
Question

VerifyError: Error #1014: Class flash.media::MicrophoneEnhancedOptions could not be found.

  • May 31, 2011
  • 2 replies
  • 1718 views

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~ *
*] {} (AudioChatClient_1~)
  5:pushscope
                       [AudioChatClient_1~ *
*] {AudioChatClient_1~} ()
  6:pushnull
                       [AudioChatClient_1~ *
*] {AudioChatClient_1~} (null)
  7:coerce flash.media::Microphone
                       [AudioChatClient_1~ *
*] {AudioChatClient_1~} (flash.media::Microphone)
  9:setlocal1
                       [AudioChatClient_1~ flash.media::Microphone *
] {AudioChatClient_1~} ()
  10:pushnull
                       [AudioChatClient_1~ flash.media::Microphone *
] {AudioChatClient_1~} (null)
  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

This topic has been closed for replies.

2 replies

Participant
June 23, 2011

Hi

me to...

While using the following code for echo supression:
var options:MicrophoneEnhancedOptions = new MicrophoneEnhancedOptions();


VerifyError: Error #1014: 无法找到类 flash.media::MicrophoneEnhancedOptions。

OS: Microsoft Windows XP SP3

Intel Core 2 duo Processor with 2 GB RAM

Flash Builder 4.5
Adobe Flash Player 10.3

Adobe Flash Media Server 3.5.2
10.3 playerglobal.swc

  If who have already solved the method, please point out bottom.
     Thanks
QQ:52275313

Email:zhengbaojun@huro.cn

Participant
June 19, 2011