You don't need to do it every tick.
Add a button.
https://www.dropbox.com/s/oz49k379l34xu ... .capx?dl=0
The problem is â€“ I need it every tick, realtime. Look here:
https://www.dropbox.com/s/3k8qlassokux5 ... 9.jpg?dl=0
There is a UserMedia object on screen, showing stream from device's cam. But, as you see, it's 90Â° rotated, as it is by default, probably defined by camera driver. Other applications, like "Camera" or Skype, do the rotation themselves. But, as far as I found, Construct doesn't. The correct picture is needed realtime, because user is expected to aim camera at QR-code. Trying to do it with picture rotated 90Â° is quite a pain.
(a bit later)
However, playing now format and quality options, I found out that a sprite object can be updated with camera jpeg snapshot quite fast! Actually, 10 fps on pad is not a problem, and that's more than enough. Rotating it 90Â° makes what I want â€“ realtime vertical stream from camera, so the problem is solved! Thank you for a good idea!