Can FLV AAC stream play on Android?

I'm trying to create a radio player, and the client provides a stream that is an FLV container, with AAC sound

When I read the headers, it appears as audio / aacp.

I tried all possible ways such as using

1) Stream through the media player (does not work)

2) Use NPR mode to use proxy stream (I get a broken pipe exception)

3) Play it in chunks (plays, but I need an SDCard, and playback is not very large)

4) Use the GPL'd FAAD2 library, but I will have to pay a fee for the fee

Can someone help me solve this problem.

The last option I have is for my client to change the stream to an mp3 container (which I know that it works)

Regards, Hari

+3
source share

Source: https://habr.com/ru/post/1784031/


All Articles