Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Error #1065: Variable flash.media::SoundCodec is not defined.

Avatar

Former Community Member
Good morning,



Since I moved to SDK 0.91, I have the recurrent error when I
launch a second instance of my application on the same PC, for test
purposes:



ReferenceError: Error #1065: Variable flash.media::SoundCodec
is not defined.

at com.adobe.rtc.clientManagers::MicrophoneManager/get
selectedMic()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\rtc\clientManagers\MicrophoneManager.as:160]

at com.adobe.rtc.clientManagers::MicrophoneManager/set
_1703516469micIndex()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\rtc\clientManagers\MicrophoneManager.as:126]

at com.adobe.rtc.clientManagers::MicrophoneManager/set
micIndex()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\rtc\clientManagers\MicrophoneManager.as:122]

at
com.adobe.rtc.clientManagers::MicrophoneManager()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\rtc\clientManagers\MicrophoneManager.as:81]

at
com.adobe.rtc.clientManagers::MicrophoneManager$/getInstance()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\rtc\clientManagers\MicrophoneManager.as:93]

at
com.adobe.rtc.sharedManagers::StreamManager/findCodec()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\rtc\sharedManagers\StreamManager.as:1864]

at
com.adobe.rtc.sharedManagers::StreamManager/onUserRemove()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\rtc\sharedManagers\StreamManager.as:1851]

at flash.events::EventDispatcher/dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at
com.adobe.rtc.sharedManagers::UserManager/userRemoved()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\rtc\sharedManagers\UserManager.as:1020]

at
com.adobe.rtc.sharedManagers::UserManager/onItemRetract()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\rtc\sharedManagers\UserManager.as:920]

at flash.events::EventDispatcher/dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at com.adobe.rtc.sharedModel::CollectionNode/
http://www.adobe.com/2006/connect/cocomo/messaging/internal::receiveItemRetraction()[C:\work\main\co...

at com.adobe.rtc.messaging.manager::MessageManager/
http://www.adobe.com/2006/connect/cocomo/messaging/internal::receiveItemRetraction()[C:\work\main\co...

at
com.adobe.rtc.session.managers::SessionManagerBase/receiveItemRetraction()[C:\work\main\connect\cocomoPlayer10\src\com\adobe\rtc\session\managers\SessionManagerBase.as:341]



The weird thing is that I'm working on an application that
doesn't use the microphone. I'm only using a simple SharedModel to
share Arrays.

Any idea where this could come from?



Axel
1 Accepted Solution

Avatar

Correct answer by
Former Community Member
Hi,



SoundCodec class is defined in Player 10. Are you using the
player 10 afcs swc ? If so, you need to change Require Flash Player
Version unser Project->Properties->Flex Compiler in Flex
Builder and put that to 10.0.0 and also make sure that your browser
has player 10 and you Flex SDK also supports player 10.

And if you are using afcs 9 swc , then put 9.0.124 or
something in the Require Flash Player Version and that should fix
the problem



Thanks

Hironmay Basu



View solution in original post

3 Replies

Avatar

Correct answer by
Former Community Member
Hi,



SoundCodec class is defined in Player 10. Are you using the
player 10 afcs swc ? If so, you need to change Require Flash Player
Version unser Project->Properties->Flex Compiler in Flex
Builder and put that to 10.0.0 and also make sure that your browser
has player 10 and you Flex SDK also supports player 10.

And if you are using afcs 9 swc , then put 9.0.124 or
something in the Require Flash Player Version and that should fix
the problem



Thanks

Hironmay Basu



Avatar

Former Community Member
Hi Hironmay,



Thanks a lot. It was the compiler option missing.



Axel

Avatar

Former Community Member
Hi Hironmay,



Thanks a lot. It was the compiler option missing.



Axel
The following has evaluated to null or missing: ==> liqladmin("SELECT id, value FROM metrics WHERE id = 'net_accepted_solutions' and user.id = '${acceptedAnswer.author.id}'").data.items [in template "analytics-container" at line 83, column 41] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign answerAuthorNetSolutions = li... [in template "analytics-container" at line 83, column 5] ----