Hi Michaela,

Can you file an improvement request in http://jira.openlaszlo.org/ so we can get this fixed? In the mean time applying this patch should help:

Index: lps/components/extensions/av/microphone.lzx
===================================================================
--- lps/components/extensions/av/microphone.lzx (revision 16047)
+++ lps/components/extensions/av/microphone.lzx (working copy)
@@ -155,7 +155,7 @@
         <handler name="onactive"><![CDATA[
//Debug.write("microphone onactive", this, "onlevel", this.onlevel, "active", this.active);
             if (this.onlevel.ready) {
-                if (this.active && this.capturing) {
+                if (this.active) {
                     this._leveldel.register(lz.Idle, "onidle");
                 } else {
                     this._leveldel.unregisterAll();

Let me know how that works for you.

Regards,
Max Carlson
OpenLaszlo.org

On 4/1/10 11:01 AM, Michaela Merz wrote:

Hello:

With the help of Henry Minsky and others, I was able to get my little
voicechat app running. Thanks a lot to y'all :)

There are still a few questions and I would appreciate some insight from
the list:

Setting<microphone>  to capture results in a really nasty audio-feedback
as the microphone is looped back through the speakers. One doesn't have to
set capture to true in order to broadcast audio, it works very well and
without loopback if 'capture' is set to 'false'.

Unfortunately, I can't get mic.level without activating capture. Is there
any way I can eat the cake keep it (e.g. keeping capture=false and still
get mic.level?)

Thanks,

Michaela







Reply via email to