Plugin.AudioRecorder icon indicating copy to clipboard operation
Plugin.AudioRecorder copied to clipboard

Record OK, but share it to messenger not always play

Open evagelos21 opened this issue 5 years ago • 4 comments

Hi to you i am trying to share the audio recorded, but in some mobiles just cannot play. My code is just simple: `

        AudioRecorderService _recoder = new AudioRecorderService();
        
        await _recoder.StartRecording();
        await TextToSpeech.SpeakAsync(MainTextArea.Text, settings, cancelToken: cts.Token);
        await _recoder.StopRecording();
        
        await Share.RequestAsync(new ShareFileRequest
        {
            File = new ShareFile(_recoder.FilePath)
        });

`

In Whats'up it says "not supported audio file" In Facebook messenger in some mobiles can play in some others (included my own) not. Any ideas?

evagelos21 avatar Apr 15 '20 06:04 evagelos21

As i figure, it not messenger or whats'up problem but, mobile problem. in some mobiles works and others not.

evagelos21 avatar Apr 17 '20 13:04 evagelos21

@evagelos21 are you using the latest nuget package or building from source? There was an accepted PR recently that aims to fix the WAV header to improve device support. I haven't been able to build a new package in a while that includes the fix, but I'll work on getting that done soon.

NateRickard avatar Apr 20 '20 20:04 NateRickard

i was using the nuget package. So i am waiting for your new build.

evagelos21 avatar Apr 21 '20 14:04 evagelos21

Any news on this?

evagelos21 avatar Nov 07 '20 06:11 evagelos21