Yay! I'm so glad to hear the OL classes work better for you. Are there
any relevant bugs in JIRA that I should close?
Regards,
Max Carlson
OpenLaszlo.org
On 6/1/10 6:10 AM, cem sonmez wrote:
The problem does not exist anymore ;)
For a long time I have been using as3 classes in my A/V class
definitions. Yesterday I decided to change all of them with the
openlaszlo built-in A/V classes (although they do the same things with
my classes, they are more understandable of course).
So, now everthing works fine.
Thanks
2010/5/31 cem sonmez<[email protected]>:
thanks michaela,
I found that there is already an opened bug report about this
problem. He uses mediastream and the workaround is to attach the
mediastream to the videoview, but sound echoes very much. Anyway I see
that there is a workaround via using mediastream.
I will give a try with mediastream.
Thanks
2010/5/31 Michaela Merz<[email protected]>:
Cem:
I am using mediastream:
<rtmpconnection name="rtmpc" id="rtmpc"
src="rtmp://www.sigme.us/oflaDemo/" autoconnect="false">
<handler name="oninit">
startUp();
canvas.rtmpc.setAttribute("connectionparams",canvas.secid);
rtmpc.connect();
</handler>
</rtmpconnection>
<mediastream name="s1"
type="rtmp"
/>
<mediastream name="s2" type="rtmp">
<handler name="oninit">
StartReceive();
StartStream();
</handler>
</mediastream>
[...]
<videoview id="live" width="0" height="0" name="nlive" type="rtmp"
stream="$once{canvas.s1}" debug="true" playvolume="0">
<microphone id="mic" name="nmic" capturing="false"
silencelevel="100"
silencetimeout="50">
<method name="_makeDevice"><![CDATA[
var dev = super._makeDevice();
// dev is the microphone
dev.codec = 'Speex';
dev.soundTransform = this._sound;
dev.setUseEchoSuppression(true);
]]>
</method>
</microphone>
</videoview>
No crashes. Just garbled sounds on the receiver. I bet it's an FlashPlayer
BETA issue.
Michaela
--
Cem SONMEZ