MediaElement and AAC stream support on Windows Phone 7

浪子不回头ぞ 提交于 2019-12-21 17:03:49

问题


According to this link the Windows Phone 7 supports the AAC encoded audio stream in the browser and via the MediaElement API as well. We have tested few the icecast streams (e.g. this) it on our devices (e.g. HTC HD7 T9292, with latest updated - ver 7.0 (7392) ), but it does not work either in web browser or via API. The mp3 live stream works fine.

Any clues, why the AAC does not work, even the documentation says it should? BR SteN


回答1:


Icecast is not pure AAC, in 7.0 you need to strip out the icecast headers and metadata using a custom MediaStreamSource and then feed the raw AAC to the MediaElement.

It looks like from your comments that they may have added native icecast support to Mango.



来源:https://stackoverflow.com/questions/7020995/mediaelement-and-aac-stream-support-on-windows-phone-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!