How do I select one of my 2 webcans

Get help using Construct 2

Post » Fri May 19, 2017 11:49 am

Morning.

If I have two cameras connected, is there any way to create a menu where the user can choose which of the two cameras he wants to use?

In my case, it always takes the camera of the notebook as standard, but I would like to be able to choose between the notebook or the USB camera connected

With "Request camera source [0]", any number I put continues to use that of the notebook
B
5
Posts: 34
Reputation: 322

Post » Sun May 21, 2017 8:50 pm

I don't necessarily have experience with UserMedia, but whatever, here we go.

Basically, have 2 UserMedia objects, a button, and a mouse function.
Dumbed down version of event sheet:
Image

(pretty simple, right?)
B
7
S
1
G
2
Posts: 17
Reputation: 1,401

Post » Wed May 24, 2017 2:39 pm

Thanks for the help but it still does not solve my problem

I need to be able to choose between the USB camera or the camera of the notebook. Even though I put a MediaUser for each camera it only recognizes the one that is configured in the browser

Is there any way I can recognize the two cameras and choose which one I want to see on a menu or something?
B
5
Posts: 34
Reputation: 322


Return to How do I....?

Who is online

Users browsing this forum: adamebastin, Bro7hers, marcinkowski and 8 guests