mergAV and AVkit

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

mergAV and AVkit

Mark Wieder via use-livecode
I'm excited to see that the switch to AVkit in LC 9.6 fixes the bug  
where <a  
href="https://quality.livecode.com/show_bug.cgi?id=21438">cameraControl  
automatically configured audio and video input devices when created</a>!

Will these syntax changes be made to mergAV? Using the barcode reader  
on iOS still asks for microphone access which is hard to explain to  
customers.

--Andrew Bell


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: mergAV and AVkit

Mark Wieder via use-livecode
mergAV has already supported this for a while. You set the microphone to empty before creating the camera. It is in the docs for mergAVCamCreate.

> On 28 Nov 2019, at 5:30 am, Andrew Bell via use-livecode <[hidden email]> wrote:
>
> I'm excited to see that the switch to AVkit in LC 9.6 fixes the bug where <a href="https://quality.livecode.com/show_bug.cgi?id=21438">cameraControl automatically configured audio and video input devices when created</a>!
>
> Will these syntax changes be made to mergAV? Using the barcode reader on iOS still asks for microphone access which is hard to explain to customers.
>
> --Andrew Bell
>
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: mergAV and AVkit

Mark Wieder via use-livecode
In reply to this post by Mark Wieder via use-livecode
Thank you for forcing me to take another look at this! I had found the  
updated info last year @  
https://forums.livecode.com/viewtopic.php?t=31287 but misinterpreted  
the change suggested.

I still had this line:
mergAVRequestMediaAccess "audio"

Because I thought this was taking care of that issue for me:
on mergAVMediaAccess pType, pGranted
    put "mergAVMediaAccess"&&pType, pGranted
    if pType is "audio" then
       mergAVRequestMediaAccess "video"
    ...
end mergAVMediaAccess

So I just needed to update my original request code to (duh):
mergAVRequestMediaAccess "video"

--Andrew Bell


> Date: Thu, 28 Nov 2019 08:24:55 +1100
> From: Monte Goulding <[hidden email]>
> Subject: Re: mergAV and AVkit
>
> mergAV has already supported this for a while. You set the  
> microphone to empty before creating the camera. It is in the docs  
> for mergAVCamCreate.
>
>> On 28 Nov 2019, at 5:30 am, Andrew Bell via use-livecode  
>> <[hidden email]> wrote:
>>
>> I'm excited to see that the switch to AVkit in LC 9.6 fixes the bug  
>> where <a  
>> href="https://quality.livecode.com/show_bug.cgi?id=21438">cameraControl  
>> automatically configured audio and video input devices when  
>> created</a>!
>>
>> Will these syntax changes be made to mergAV? Using the barcode  
>> reader on iOS still asks for microphone access which is hard to  
>> explain to customers.
>>
>> --Andrew Bell



_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode