Android: AAC+ radio streaming doesn't work with MediaPlayer (Android 4.2.2 / Shoucast links)

后端 未结 3 602
南笙
南笙 2020-12-29 09:36

I\'m recently faced with some problems of streaming AAC+ radio streams with the Android MediaPlayer. Regarding to the documentation, there shou

3条回答
  •  半阙折子戏
    2020-12-29 09:49

    I have also looked into this, and I found that it's necessary to pay licencing fees if you include your own decoder:

    Vialicensing (AAC) replied:

    “If you will be leveraging the native AAC support in Android so that your apps don’t include an AAC encoder or decoder, then you wouldn’t have a need/obligation for a license – your products wouldn’t infringe.”

    This means that the only way you could play AAC without royalties is if the native Android player supports AAC with its built-in decoder. By the looks of things, there isn't support for this on 4. I have tried feeding the player an AAC stream and it just buffers forever.

提交回复
热议问题