mergAV Select specific rear camera

Andrew at MidWest Coast Media andrew at midwestcoastmedia.com
Thu Apr 30 17:51:18 EDT 2020


The only devices that are returned by mergAVCamGet(“video devices”) is:
com.apple.avfondation.avcapturedvice.built-in_video:0	Back Camera
com.apple.avfondation.avcapturedvice.built-in_video:1	Front Camera

mergAVPick(“rear camera”) brings up the native camera controls, but my goal is to have a live feed from the camera but WITHOUT all the overlays the native camera adds. I can do this easily with the mergAV demo stack, but can’t access all the features.

I’ve been able to utilize the mergAVCamGet/Set("zoom”) to work on the normal (non wide-angle) lens from 1x to 2x but it won’t go all the way to 3x or down to 0.5x like the native camera will do (0.5x-1x by using the wide-angle, not sure why I can’t use 2x-3x even without a telephoto lens if the native control does).

-Andrew Bell


More information about the use-livecode mailing list