'Listen to camera events (e.g. photo made) and send it to browser

Let`s imagine the situation where camera is connected do PC with cable or bluetooth. Is it possible in some way to capture the camera events (for example photo is made) and upload it to the browser directly or via some interface? Ideas are welcome.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source