Page 1 of 1

MergAV requesting access for audio when its not needed

Posted: Mon Jul 16, 2018 5:24 pm
by uncleb
Hi all,

I see that MergAV's media access request (mergAVRequestMediaAccess) requires both audio and video before it will set up a camera view etc.

My app doesn't need audio access at all, and as Apple are stringent/anal about explaining why users will need to grant access the microphone I'd rather not have to ask for something I won't use.

Is there a way around this?

I'm running 8.1.8 and Xcode 9.1 at the moment. Happy to update both if it fixes the problem...

Thanks,
ian.

Re: MergAV requesting access for audio when its not needed

Posted: Mon Jul 16, 2018 9:41 pm
by LiveCode_Panos
Hello Ian,

Yes, this is a bug which is fixed in LC 8.1.10 / 9.0.0 / 9.0.1 RC-1

So download one of these versions, and use this to disable audio access:

Code: Select all

...
mergAVCamSet "microphone", empty
mergAVCamCreate
...
...
Best,
Panos
--

Re: MergAV requesting access for audio when its not needed

Posted: Tue Jul 17, 2018 10:46 am
by dave.kilroy
Thanks Panos, I hadn't realised this was fixed :)

Re: MergAV requesting access for audio when its not needed

Posted: Tue Jul 17, 2018 11:14 am
by uncleb
Thanks Panos you're a legend (and presumably Monte is as well) This worked perfectly. Fab!

ian.