hi there,
  I am new to openlaszlo. I am trying to build a conference application using 
laszlo and following code i did at receivers end
   
   
  <window id="remotecam"  title="video from remote camera"  
  height="450" width="350" align="left" x="400" y="10" resizable="true">
  <view id="v2">
   <videoview name="vid" type="tmp" stream="canvas.s2" 
   width="320" height="240"/>
    <edittext name="username" 
    x="150" y="250">user</edittext>
    <button text="receive" x="10" y="250">
     <attribute name="text" 
     value="${(s2.playing==false)?'receive':'stop receiving'}"/>
 
   <method event="onclick"><![CDATA[
    s2.setAttribute('url',parent.username.text);
    if(s2.playing==false) 
     s2.play(); 
    else
     s2.stop();
     ]]>
   </method>
    </button>
  </view>
  </window>
   
   
   
  but at the receiving end... though i inserted s2.stop() I still can hear the 
audio... this should be working as in my openion .. though it is not(strange? 
).. can anyone suggest where the bug might be? 
  p.s. i even tried changing attributes of muteaudio... manually .. but seems 
not working
   
  thanks and regards,
  Swati

       
---------------------------------
Building a website is a piece of cake. 
Yahoo! Small Business gives you all the tools to get online.

Reply via email to