[squeak-dev] CameraPlugin on mac

Bob Arning arning315 at comcast.net
Sun Dec 25 18:44:24 UTC 2016

Thank you for that - looks like the answer.

The CameraInterface I was testing had this:

videoTest: camNum
     "A quick test of video input. Displays video on the screen until 
the mouse is pressed."
     "self videoTest: 1"
     "self videoTest: 2"

and doing the videoTest: 1 would turn on the camera light, but report 
that no camera was present.

Your code has

     self openCamera: 0 width: 640 height: 480.

and it works fine. So zero seems to be the right camera number, at least 
for this version of the plugin.

On 12/25/16 1:09 PM, Yoshiki Ohshima wrote:
> 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 <arning315 at comcast.net> wrote:
>> 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). ;-)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20161225/3625e64e/attachment.html>

More information about the Squeak-dev mailing list