This is a migrated thread and some comments may be shown as answers.

How to select webcam?

4 Answers 200 Views
WebCam
This is a migrated thread and some comments may be shown as answers.
Mi
Top achievements
Rank 1
Mi asked on 31 Jul 2019, 03:15 PM

Hi!

I couldn't find any information about selecting which camera I want to use in RadWebCam. Any sample? Or is it not possible?

Also there should be a way to save and load the settings of a camera.Any hints?

Thanks

4 Answers, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 02 Aug 2019, 07:21 AM

Hello Mi,

You can select a different camera by getting all connected camera devices and then call the Initialize() method of the RadWebCam control with a new device. This approach is shown in the Getting Started article of RadWebCam.

About the saving/loading camera settings, can you tell me what settings exactly you want to save? Also, you can check the Camera Settings Control article. The camera control allows you to change the settings of the camera devices and this is applied and saved to the device.

Can you please check the provided resources and let me know how it goes?

Regards, Martin Ivanov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Rémi
Top achievements
Rank 1
answered on 12 Aug 2019, 03:48 PM

Hi Martin,

 

I can't get the webcam to work when calling the Initialize() method. I tried different ways to do this but I'm always facing problems like "ContextSwitchDeadlock" or "RaceOnRCWCleanup".

As I don't know what I'm doing wrong, can you provide us a working sample where the Initialize() method is called ?

 

Best regards,

Rémi

0
Martin Ivanov
Telerik team
answered on 14 Aug 2019, 09:43 AM

Hello Rémi,

There was an issue with the Initialize() method. This  is already fixed in the LIB 2019.2.722 (22/7/2019) version. Can you please give the LIB a try and let me know how it goes?

Regards, Martin Ivanov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Rémi
Top achievements
Rank 1
answered on 14 Aug 2019, 01:12 PM

Hi Martin,

I tried with the LIB 2019.2.812 and it works as expected.

Thanks a lot for your help,

Rémi

Tags
WebCam
Asked by
Mi
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Rémi
Top achievements
Rank 1
Share this question
or