Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record OK, but share it to messenger not always play #49

Open
evagelos21 opened this issue Apr 15, 2020 · 4 comments
Open

Record OK, but share it to messenger not always play #49

evagelos21 opened this issue Apr 15, 2020 · 4 comments

Comments

@evagelos21
Copy link

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
Copy link
Author

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

@NateRickard
Copy link
Owner

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

@evagelos21
Copy link
Author

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

@evagelos21
Copy link
Author

Any news on this?

@evagelos21 evagelos21 reopened this Nov 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants