web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Audio File is not play...
Power Apps
Unanswered

Audio File is not playing recorded in Microphone

(0) ShareShare
ReportReport
Posted on by 1,119

Hi friends,

 

need a help. i am trying to record a audio using Microphone control. And storing it is Share point library. The file is getting created successfully when the Power automate flow is executed. But when i download the created file from sharepoint library, i am not able to play this. This is saying unsupported format.

 

On Stop of my Microphone, my code is as below :

 

Set(varTempRec,Microphone1.Audio);
Set(varTempJson, JSON(Microphone1.Audio,IncludeBinaryData));
Set(StringB64Audio,Mid(varTempJson,25,Len(varTempJson)-25))

 

 

On the Save Button my code is :

SaveAudio.Run(StringB64Audio,TextInput1.Text,Audio1.Duration)

 

and My flow is as below

venka91_0-1648640758149.png

I can see my file successfully created

 

venka91_1-1648640929101.png

But when i try to play this... it is not playing. I tried changing the format of file (like mp3 or webm) but it is not working.

webm files not starting to play and just showing like it is disabled.

 

venka91_2-1648641116444.png

 

and if i save as mp3, this is the response below.

venka91_3-1648641167289.png

 

Please help. I am unable to isolate the issue.

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    on at

    Hi @venka91 ,

     

    Please try to use base64tobinary() instead of base64tostring().

    vxiaochenmsft_0-1648792728381.png

     

    Best Regards,

    Wearsky

  • venka91 Profile Picture
    1,119 on at

    Excellent. You just showed me a way to fix my problem in simple single change. Kudos

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard