[Android] Audio cannot play back 3gp recording

#1

Steps to Reproduce

https://snack.expo.io/B1Q6Li9FM

According to https://docs.expo.io/versions/latest/sdk/av.html#source-object--number--asset--the-source-of-the-media-the-following-forms-are-supported

3gp is supported https://developer.android.com/guide/topics/media/media-formats.html#formats-table

Actual Behavior

Failed with the error com.google.android.exoplayer2.source.ExtractorMediaSource$UnrecognizedInputFormatException: None of the available extractors (MatroskaExtractor, FragmentedMp4Extractor, Mp4Extractor, Mp3Extractor, AdtsExtractor, Ac3Extractor, TsExtractor, FlvExtractor, OggExtractor, PsExtractor, WavExtractor) could read the stream.

#2

Thanks for creating a snack @james2412. Can you open up a github issue for this so that I can assign it to the correct person?

#3

Issue has been resolved, have to add androidImplementation: 'MediaPlayer'. Thanks!

closed #4

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.