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

后端 未结 3 603
南笙
南笙 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:47

    i had the same problem for my app.

    I played alot with MediaPlayer with no success. I even tested with a proxy inside the app that is used for streaming MP3 Streams on older android versions

    and i also tested the aacplayer-android/aacdecoder-android, but it was not very stable in my tests...

    We ended up with BASS for Android as we were unable to find.

    But it also requires an AAC Patent License* if you want to make the app public (for private use i think it does not care...) also it requires an BASS License unless you are a non-commercial entity.

    *) Android Apps count as Consumer Products not as Consumer PC Software... just to avoid the mistake we made for our app...

    [UPDATE]
    Why are the patent fees required?
    One have to pay fees as soon as the Product(in this case the App) brings is own decoder (or encoder) as both, BASS and aacdecoder-android bring thier own decoder code, they required to have an AAC license. Only if it would be possible to use the decoder available on the host system(that is licensed/paid by the developer of the host syste - in this case Google) it is "free". But as it seemsthere is currently no way to acces/use the device codecs...

提交回复
热议问题