<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><font face="Georgia">Thank you for that - looks like the answer.</font></p>
<p><font face="Georgia">The CameraInterface I was testing had this:<br>
</font></p>
<p><font face="Georgia">videoTest: camNum<br>
"A quick test of video input. Displays video on the screen
until the mouse is pressed."<br>
"self videoTest: 1"<br>
"self videoTest: 2"<br>
</font></p>
<p>and doing the videoTest: 1 would turn on the camera light, but
report that no camera was present.</p>
<p>Your code has</p>
<p> self openCamera: 0 width: 640 height: 480.<br>
</p>
<p>and it works fine. So zero seems to be the right camera number,
at least for this version of the plugin.<br>
</p>
<br>
<div class="moz-cite-prefix">On 12/25/16 1:09 PM, Yoshiki Ohshima
wrote:<br>
</div>
<blockquote
cite="mid:CAHC3jCO9uMzTn4VPXV2eVdRb5cUCPyMxwT2prgyXzndxB5=fQw@mail.gmail.com"
type="cite">
<pre wrap="">I would not be too surprised to hear that it has some instability, but
it used to work okay on my computer. (Beside the fact that
Squeak5.1-16548-32bit does not even run, but also as keyboard input
does not work, I have hard time to even do a simple debugging).
My test code that used to work is attached here. Hope this helps.
On Sun, Dec 25, 2016 at 3:20 AM, Bob Arning <a class="moz-txt-link-rfc2396E" href="mailto:arning315@comcast.net"><arning315@comcast.net></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Well, mostly better. When it tries to close the camera after a #videoTest:,
it crashes the VM. Any pointer to a compatible set of pieces is welcome.
On 12/25/16 5:39 AM, Bob Arning wrote:
The CameraPlugin works fine in Etoys 5.0, but I could not get the code
(CameraInterface & WebCamMorph) to show anything in Squeak 5.1. When it took
the raw CameraPlugin from Etoys and used it in Squeak 5.1 instead of the
CameraPlugin.bundle, video started appearing. Sometime I guess old code
(2011) is better than new (2016). ;-)
</pre>
</blockquote>
<pre wrap="">
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">
</pre>
</blockquote>
<br>
</body>
</html>