The Flex version in 4.7.2 was flex_sdk_4.0.0.6898 May 14 which was from
2009. We
decided to update because we are starting to use the new Adobe text layout
API's, and
they had changed significantly since then.


Trunk now has the latest milestone build 4.0.0.14159 Sun Mar 21 2010

On Sat, Jun 12, 2010 at 1:58 PM, Michaela Merz <[email protected]> wrote:

>
>
> Thanks Adré:
>
> Bin there, did that :)
>
> ERROR @voicechat.lzx&#8776;31: ReferenceError: Error #1056: Cannot create
> property setEncodeQuality on flash.media.Microphone.
> videoview #live init: width 0, height 0, stream #s1
>
> What version of FLEX is OpenLaszlo 4.7.2 using anyway?
>
> Michaela
>
>
> > You need to use:
> >    dev.framesPerPacket = 1;
> > instead of:
> >    dev.setFramesPerPacket(1);
> >
> >
> > - André
> >
> >
> >> 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
> >>
> >
>
>
>


-- 
Henry Minsky
Software Architect
[email protected]

Reply via email to