有人有在 iPhone 应用程序中播放 ASF 流的解决方案吗?
作为我正在构建的应用程序的一部分,我正在尝试添加广播源,而相关广播电台仅提供 asx/asf 流,并且没有计划支持其他任何内容,因此我无权进行更改任何源流。
显然,使用默认库读取 ASF 流是行不通的,因为 iPhone 并不支持 asf 流。但是,有一些应用程序可以执行此操作,例如 FStream:http://www. sourcemac.com/?page=fstream
那么,有人知道这是如何完成的吗?
另一种选择是获取服务器并将提要重新流式传输为 mp3。我们有一个专用的 Windows 服务器,这个选项一直对我们使用 VLC 有效,只是 VLC 在 Windows 上有问题并在几天后自行停止。
所以我的问题是双重的:
有谁知道有什么代码可以让我在 iPhone 应用程序中播放 ASF 流吗?
是否有人对 Windows 应用程序有任何更好的建议,可以将 ASF 重新流式传输为 mp3,而不会在一段时间后就死机?
As a part of my app I'm building, I'm trying to add a radio feed, and the radio station in question only supplies an asx/asf stream and has no plans to support anything else, so I have no access to change any of the source stream.
Obviously, reading an ASF stream using the default libraries does not work, as the iPhone does not support asf streams naively. However, there are a couple of apps out there that do this, for example FStream: http://www.sourcemac.com/?page=fstream
So, does anyone have any idea how this is done?
The other option is getting a server and re-streaming the feed as mp3. We have a dedicated windows server, and this option has been working for us using VLC, except VLC has issues on windows and stops itself after a few days.
So my question is twofold:
Does anyone know of any code out there that allows me to play an ASF stream in my iPhone app?
Does anyone have any better suggestions for a windows application to restream the ASF to mp3 that won't just up and die after a period of time?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否尝试过在像 ubuntu 这样的 Linux 机器上使用 VLC? Ubuntu linux和应用程序似乎比windows更稳定。
Have you tried using VLC on a linux machine like ubuntu? Ubuntu linux and apps seem to be more stable than windows.