You may need to update to a recent nightly build of trunk, which has flex 4 
embedded in it...  Let me know how it goes!

On Jun 11, 2010, at 3:22 PM, "Michaela Merz" <[email protected]> wrote:

> Max:
> 
> At least I now had a reason to learn about the Flash debugger :) Ok. based
> on the following code, we have this error:
> 
> <method name="_makeDevice"><![CDATA[
>  var dev = super._makeDevice();
>  // dev is the microphone
>  dev.codec = 'Speex';
>  dev.setFramesPerPacket(1);
>  dev.soundTransform = this._sound;
>  dev.setUseEchoSuppression(true);
>  ]]>
> </method>
> 
> OS: Linux 2.6.31.12-174.2.22.fc12.i686
> ERROR @voicechat.lzx&#8776;31: ReferenceError: Error #1069: Property
> setFramesPerPacket not found on flash.media.Microphone and there is no
> default value.
> 
> However: Adobe Flex 3.5 shows the public property :
> 
> framesPerPacket       property
> framesPerPacket:int
> 
> Number of Speex speech frames transmitted in a packet (message). Each
> frame is 20 ms long. The default value is two frames per packet.
> 
> The more Speex frames in a message, the lower the bandwidth required but
> the longer the delay in sending the message. Fewer Speex frames increases
> bandwidth required but reduces delay.
> 
> 
> Implementation
>    public function get framesPerPacket():int
>    public function set framesPerPacket(value:int):void
> 
> However, I might be too stupid to get it right :( Or are we not yet using
> Flex 3.5 ?
> 
> Michaela
> 
> 

Reply via email to