Hello everybody:

I am really thrilled about OL, though I don't fully understand everything
yet. As I coded one of the very first audio conferencing tools back in
'94, I thought about giving OL a shot with a modern version of a voicechat
app. I never touched Flash before, if it's not FOSS - I don't use it.

Coding a voice/video chat in OL is no big thing. I addressed the direct
audio-feedback (by setting the playvolume in both list+broadcast
videoviews to 0 and by keeping the microphone capture value 'false' - the
microphone will capture the sound anyway).

What puzzles me though is the darn squelch (aka setSilenceLevel) that
poses two problems:

a) It requires a huge microphone volume level setting to switch on. That
in turn makes the audio on the receiving end to clip and the receiver has
to turn his/her audio down almost all the way)

b) Whenever squelch turns off & on again, the first two or so seconds are
garbled.

One has to find a 'sweet spot' to keep the microphone open, but this will,
of course produce a clipping audio stream.

So - my questions are:

How am I able to setGain(), setRate() and setSilenceLevel() on the mic?

Using

<microphone [..] >
<method name="_makeDevice"><![CDATA[
var dev = super._makeDevice();
[..]
dev.setGain(1);
dev.setRate(11);
dev.setSilenceLevel(0);
]]>
</method>
</microphone>

will compile, but won't render the flash. Is there any other way that
would allow me to access Flash's microphone 'module' in order to be able
to set the required properties?

I am using lps-4.7.1 with Fedora12

Thanks.

Michaela

Reply via email to