<rtmpconnection name="rtmpkam1" src="rtmp://yourred5host/oflaDemo/" autoconnect="true" debug="true"/>
<mediastream  name="ms"  type="rtmp" debug="true" >
     <method event="onstart">
       Debug.write('onstart');

     </method>

</mediastream>

<videoview x="0" name="vr" url="" type="rtmp" stream="$once{classroot.ms}" width="${parent.width-15}" height="${parent.height-420}" >

<camera name="ca1" width="640" height="480" show="true" capturing="true"/>
       <microphone  name="mi1"  capturing="true" />
</videoview>


<button text="Camera Start"   width="120">
         <method event="onclick">
           <![CDATA[
parent.parent.vr.mi1.setAttribute('capturing',true);
           parent.parent.vr.stream.broadcast();
]]> </button>



Fast from my code if don't work give me the sign. It's only idea.

Robert Pieprzny pisze:
Create mediastream and use in videoview. use broadcast method of mediastream.

Robert

Daniel Küstner pisze:
Am 30.08.2007 um 13.21 schrieb Robert Pieprzny:

Please test on http://pepe.pieprzny.pl ( look at english version ).

Thanks for your help!

If I understand it correctly, your application is recording files. That's working here also. What I'm looking for, is to live broadcast audio for a chat application.

daniel.




Reply via email to