I'm not sure since I don't have any Canon gear, but it's very likely that the app just uses the PTP protocol, which is an old but stil common standard. The main ioen source implementation is libgphoto2 and there's an OBS Studio plugin to use it as a camera source, after which you can use its built-in virtual webcam mode to use it as a webcam.
Canon G5 X mark 2 does not seem to be supported by gphoto: http://www.gphoto.org/proj/libgphoto2/support.php
I'm able to pipe gphoto2 frames to a pipewire sink or v4l2 device and it works great for making my Canon EOS 250D into a webcam.