The device is provided to browser by operating system. There can be any drivers which can make a "webcam" with any content they decide. Nobody will know what is it, neither system, nor browser and of course not any script inside browser.