问题描述
根据此链接 Windows Phone 7在浏览器中也通过MediaElement API
支持AAC编码的音频流.我们已经在我们的设备(例如HTC HD7 T9292, (最新更新-版本7.0(7392)),但在Web浏览器或API中均不起作用. mp3实时流可以正常工作.
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.
任何提示,为什么AAC不能正常工作,即使文档说应该可以正常工作?BRSteN
Any clues, why the AAC does not work, even the documentation says it should?BRSteN
推荐答案
Icecast不是纯AAC,在7.0中,您需要使用自定义MediaStreamSource剥离Icecast标头和元数据,然后将原始AAC馈送到MediaElement.
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.
从您的评论看来,他们可能已在Mango中添加了本机Icecast支持.
It looks like from your comments that they may have added native icecast support to Mango.
这篇关于Windows Phone 7上的MediaElement和AAC流支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!