I want to create application where I can record video with audio and save it to disk. When application start I detect all video and audio sources and show this list on the UI. But when I disconnect one of webcams (or unplug mic), this device still remain in list.
How I can get notifications of device connect/disconnect, both for video devices(USB) and audio devices(jack 3.5).
Thank you.
WBR Maxim