a rough guess tbh based on my past use of camera functions, but i don't think it would be possible due to security restrictions.
internal camera permissions are pretty similar for most devices, so it is easy for construct to prompt the user permissions needed for camera access of that device. but it would be hard to adapt it to suit requesting permissions for so many different external devices out there such as otg cables.
hope it works out.
Hello GeoDev, thanks for answering me.
I don't know the language, so I can't even try a solution, but I did a lot of research on the subject and found this link. Perhaps it can serve as a reference for something.