Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Monday, June 27, 2016 2:37:20 AM(UTC)

pocgoc  
pocgoc

Groups: Registered
Posts: 7


Hi,
I require to switch between  multiple sources eg cameras during a record session without stopping and starting the capture control.
Is there a basic console application sample?
How would i go about it?
My regards
Robert
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Friday, July 1, 2016 6:59:22 AM(UTC)

Aaron  
Aaron

Groups: Registered, Tech Support, Administrators
Posts: 71

Was thanked: 4 time(s) in 3 post(s)

Hi,

Unfortunately, the CaptureCtrl is a one to one control. Meaning, you can only capture from one device at a time and the only way to switch between capture devices with one CaptureCtrl would be to stop/restart the control with a difference device selected.

One way around this would be to create a separate CaptureCtrl for each device you are wanting to capture from and only capture from one device at a time. You can pause all the other CaptureCtrls and only run the one you are wanting to capture from at any given time. This can be done with the PauseCapture and RunCapture methods after you have initially called StartCapture:

https://www.leadtools.com/help/leadtools/v19/dh/multimedia/mm/leadtools.multimedia~leadtools.multimedia.capturectrl~pausecapture.html
https://www.leadtools.com/help/leadtools/v19/dh/multimedia/mm/leadtools.multimedia~leadtools.multimedia.capturectrl~runcapture.html
Aaron Brasington
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.045 seconds.