playMaker

Author Topic: Webcam support  (Read 3392 times)

A3DStudio

  • Playmaker Newbie
  • *
  • Posts: 43
    • View Profile
    • A3DStudio
Webcam support
« on: May 12, 2013, 03:02:25 PM »
Webcam support actions for Playmaker.
Supports multiple cameras and works also on Mobile phones. (tested on android samsung galaxy s3)

There are 3 actions: Check For Webcam, Get Webcam Name and Set Webcam Material

CheckForWebcam.cs
This action check your computer or mobile phone for a camera and send a appropriate event.

GetWebcamName.cs
Store the camera name as a string. If the system has multiple cameras (mobile), you can store the names to several strings. You can also store the camera count to a integer.

SetWebcamMaterial.cs
Set here the camera name and a empty material to stream the video.

Screenshots:









Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3201
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: Webcam support
« Reply #1 on: May 12, 2013, 08:49:29 PM »
Cool! Can't wait to try these out! :)

Uladzimir

  • Playmaker Newbie
  • *
  • Posts: 14
    • View Profile
Re: Webcam support
« Reply #2 on: June 18, 2013, 12:55:23 PM »
tested by ipad3 - works fine. thank you!!

cmvrgr

  • Junior Playmaker
  • **
  • Posts: 56
    • View Profile
Re: Webcam support
« Reply #3 on: October 29, 2013, 07:47:16 PM »
I used an external camera on my mac and it works simultaneously with 2 cams.

On my win7pc it just turn on one cam only at a time why ?

can I use a TVs tunner as a webcam ?
« Last Edit: October 31, 2013, 04:31:21 PM by cmvrgr »

MIA_DEV

  • Playmaker Newbie
  • *
  • Posts: 4
    • View Profile
Re: Webcam support
« Reply #4 on: October 20, 2015, 07:07:23 PM »
I purchased playmaker but dont have webcam option in action browser, why is that? :(
« Last Edit: October 20, 2015, 07:37:42 PM by MIA_DEV »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2244
    • View Profile
    • jinxtergames
Re: Webcam support
« Reply #5 on: October 20, 2015, 10:40:38 PM »
Hi these are custom actions that you can get on the forum and most of them on the EcoSystem

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2244
    • View Profile
    • jinxtergames
Re: Webcam support
« Reply #6 on: October 20, 2015, 10:41:43 PM »
Hi,
i will check them out tonight and add them to the Ecosystem.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 2244
    • View Profile
    • jinxtergames
Re: Webcam support
« Reply #7 on: October 21, 2015, 10:39:00 AM »
Hi,
These Actions Are now Available on the EcoSystem

MIA_DEV

  • Playmaker Newbie
  • *
  • Posts: 4
    • View Profile
Re: Webcam support
« Reply #8 on: October 21, 2015, 06:42:37 PM »
WOW! THANK YOU SO MUCH! @djaydino

MIA_DEV

  • Playmaker Newbie
  • *
  • Posts: 4
    • View Profile
Re: Webcam support
« Reply #9 on: October 21, 2015, 11:20:42 PM »
Hi there!
Only the built in rear camera is currently supported. How about external or usb camera? Please help. Thanks!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12342
  • Official Playmaker Support
    • View Profile
Re: Webcam support
« Reply #10 on: October 27, 2015, 03:31:32 AM »
Hi,

 you get a list of what Unity sees as web cameras being registered by the Operating system.

so if you only see a Rear cam, it's your OS/Unity that only sees this one. if you plug a Usb cam, make sure you refresh, I know on windows for example, plugin a joystick while the app is running won't register it, you'll have to restart. it may be the same for webcams.


Bye,

 Jean

MIA_DEV

  • Playmaker Newbie
  • *
  • Posts: 4
    • View Profile
Re: Webcam support
« Reply #11 on: October 28, 2015, 12:48:36 AM »
Hello Jean!

Sorry i forgot to mention, im working on android. In pc, there's no problem in getting the list of webcams, but on android, the only thing in the list is the internal camera of my tablet (rear and front cam). All i want is to see the usb camera attached on it. What should i do? Thanks in advance.


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 12342
  • Official Playmaker Support
    • View Profile
Re: Webcam support
« Reply #12 on: October 28, 2015, 04:56:59 AM »
Hi,

 it's unfortunatly nothing you can do about it then, as the list of webcam comes from what Unity gives us...

Bye,

 Jean