add android flac support to audio

Hi, how to add flac support to audio.sound? (it is working for ios but android crashes)

[Error: com.google.android.exoplayer2.h.r: None of the available extractors (d, e, g, b, c, a, v, b, c, q, a) could read the stream.]

As far as I understand exoplayer is used under the hood, so far I know that somehow flac must be added similar to https://github.com/google/ExoPlayer/tree/release-v2/extensions/flac

Hey @wodka,

In order to make the necessary changes to add flac support to Exoplayer you would need to eject so you could make the changes at the native level. This won’t be possible with a standard Expo project.

Cheers,
Adam

1 Like

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