I assume your ZS10 is a Panasonic.

And it sounds as if you are wanting a web-cam.

To do what you want, the camera would need a driver and special firmware.
Very few cameras use drivers any more.
The Panasonic ZS10 does not.
It will not work as you described.

....