ofVideoGrabber, new camera connected


#1

Hello, is there some way of knowing when a new camera is connected in OFW?
Thank you


#2

Hello, If you mean cameras as videograbber, There is not any automatic
callback but
But you can check this by counting how many are available, using listDevices
http://openframeworks.cc/documentation/video/ofVideoGrabber/#show_listDevices
()
Get the size of the vector for it. If this size increase, will mean there
is a new camera available.