MergAV requesting access for audio when its not needed

Getting into LiveCode for iOS? Ask your questions here.

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
uncleb
Posts: 9
Joined: Fri May 20, 2016 4:16 pm

MergAV requesting access for audio when its not needed

Post by uncleb » Mon Jul 16, 2018 5:24 pm

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.

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 571
Joined: Fri Feb 06, 2015 4:03 pm

Re: MergAV requesting access for audio when its not needed

Post by LiveCode_Panos » Mon Jul 16, 2018 9:41 pm

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
--

dave.kilroy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 858
Joined: Wed Jun 24, 2009 1:17 pm
Location: Plymouth, UK
Contact:

Re: MergAV requesting access for audio when its not needed

Post by dave.kilroy » Tue Jul 17, 2018 10:46 am

Thanks Panos, I hadn't realised this was fixed :)
"...this is not the code you are looking for..."

uncleb
Posts: 9
Joined: Fri May 20, 2016 4:16 pm

Re: MergAV requesting access for audio when its not needed

Post by uncleb » Tue Jul 17, 2018 11:14 am

Thanks Panos you're a legend (and presumably Monte is as well) This worked perfectly. Fab!

ian.

Post Reply

Return to “iOS Deployment”