cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
js_
Regular Visitor

Mic.Audio to Base64 encoding does not work on iPhone

Hi there!

 

I have an issue:

I capture the audio from the microphone, then I encode it (Base64). After that, I pass the Base64 string to a variable (etc).

It works perfectly when I record the audio using my laptop (Power Apps Studio).

 

But, when I click the very same button and run the same function on iPhone, instead of having the Base64 string, I get a relative path like "temp/recording_2A3C267F-3C1D-4DFE-91E6-6CA31F6A6B12-1321-000000CB508930AF.aac".

 

Why is this happening and how to fix this?

 

The code I am using to Base64 encode:

Set(BinaryAudioData, Substitute(JSON(Mic1.Audio,JSONFormat.IncludeBinaryData),"""",""))

 

 

Thank you.

 

0 REPLIES 0

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,303)