LEADTOOLS Support
Multimedia
Multimedia SDK Questions
Re: Switch between multiple Cameras during Capture Control
#1
Posted
:
Monday, June 27, 2016 2:37:20 AM(UTC)
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
#2
Posted
:
Friday, July 1, 2016 6:59:22 AM(UTC)
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.
LEADTOOLS Support
Multimedia
Multimedia SDK Questions
Re: Switch between multiple Cameras during Capture Control
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.