Thanks Adré:
Bin there, did that :) ERROR @voicechat.lzx≈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≈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 >> >
