I found a small problem.

When I change canvas width or height to 100x200 ( small values) the camera don't start.

It's looks like the canvas size must be more then width and height of default camera (hardware) mode.

But I am not sure !

Robert Pieprzny

<canvas width="220" height="400">
<videoview id="vr" url="" type="rtmp" align="center">
     <camera id="ca1" name="ca1"   show="false" capturing="false"/>
     <microphone id="mi1" name="mi1"  capturing="false"/>
</videoview>

<button id="button1"  align="center"  text="Turn on" width="150">
     <method event="onclick">
       <![CDATA[
                vr.ca1.setAttribute('show','true');
                vr.ca1.setAttribute('capturing','true');
                vr.mi1.setAttribute('capturing','true');
                button1.setAttribute('text', vr.ca1.show);
</method>
   </button>

</canvas>

Reply via email to