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
