Skip to main content
rajbchaithanya
Participant
October 10, 2014
Question

Action script code does not detect secondary canon cam

  • October 10, 2014
  • 2 replies
  • 470 views

Hi,

I have an action script question, Our application uses below snippet of Flex 4.5 sdk code for detecting webcams in flash players :

var camera:Camera = Camera.getCamera(); // I have logitech and canon connected , used "0" param for logitech and "1" param for canon, canon is not getting detected though logitech webcam does

                if (camera) {   

                    camera.setMode(640,480,60,true);

                    camera.setQuality(0,100);

                    videoDisplay.attachCamera(camera);                   

                }

                else {

                    Alert.show("No Camera found with your computer");

                }

Above code is fine for the Logitech webcam which am using, We have a requirement to detect Canon EOS digital cams to be recognized as well to detect with the flash player.

but its not recognizable in flash player.

Any help is appreciated!

This topic has been closed for replies.

2 replies

Inspiring
October 13, 2014

A Canon EOS is not going to work as a web cam, which is why you can't see it in Flash. There are some 3rd party apps that might help you, but none of them will work in Flash. One thing you might try is the Canon ANE from Monday 8am here:

http://www.monday8am.com/en/2014/06/07/canon-eoslib-update/

rajbchaithanya
Participant
October 14, 2014

Hi dmennenoh, Your good name ?, First thanks for responding my query about Canon camera being detectable in Flash player, Yeah I thought the same way, with canon EOS software installed only gave me a live view but not with Flash player,  I'm struggling since a week as I'm not gettin any responses/guidance in this forum.

1) You said : that works with only Canon EOS1100D and with Canon ANE , any other cameras u are aware with simple video cables support can gets detected in Flash player..?

2) I see your cpp code in git hub, is this achievable with Action script / Java to get external cam detectable in Flash player ?

rajbchaithanya
Participant
October 10, 2014

Specs our application code uses :

Flex 4.5.1

Flash player : latest 15.x

Action script 3.x