Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Action script code does not detect secondary canon cam

Community Beginner ,
Oct 10, 2014 Oct 10, 2014

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!

TOPICS
ActionScript
443
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 10, 2014 Oct 10, 2014

Specs our application code uses :

Flex 4.5.1

Flash player : latest 15.x

Action script 3.x

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Oct 13, 2014 Oct 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/

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 14, 2014 Oct 14, 2014
LATEST

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 ?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines