流AAC +(内FLV)使用AIR的iOS [英] Streaming AAC+ (inside FLV) on iOS using AIR

查看:289
本文介绍了流AAC +(内FLV)使用AIR的iOS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有关的流媒体广播电台,我有一个AAC +音频流,FLV容器内,通过HTTP传送。一个例子网址是 http://3023.live.streamtheworld.com/ALTROCK_S01A_AAC 。我写了一个简单的AIR应用程序(使用最新的AIR和Flex SDK的)玩这个数据流,并能正常工作在PC和Android,但在部署到了iOS模拟器或器件(即字节不玩什么加载,但没有任何声音)。

For a streaming radio station, I have an AAC+ audio stream, inside an FLV container, delivered via HTTP. An example URL is http://3023.live.streamtheworld.com/ALTROCK_S01A_AAC. I wrote a simple AIR app (using the latest AIR and Flex SDK's) to play this stream, and it works fine on PC and Android, but doesn't play anything when deployed to the iOS simulator or a device (i.e., the bytes are loaded but there is no sound).

这是类似于可FLV AAC流在Android的<出场/一>,但iOS的。

This is similar to Can FLV AAC stream be played in Android, but for iOS.

我想用AIR在这种情况下,因为我需要听的提示点在FLV - 这是很容易做到,如果你玩的Flash在Web浏览器,让空气似乎是自然的选择。我也看了一下 HTTP://$c$c.google.com/p/haxecast / HTTPS://$c$c.google。 COM / P /项目雷声雪/ ,但他们似乎都使用相同的基本思路(解析使用的NetStream在数据生成模式的FLV和饲料AAC +数据到视频对象) - 所以他们全部命中相同的墙壁上的iOS。

I wanted to use AIR in this scenario, since I need to listen for the Cue Points in the FLV - and this is easy to do if you're playing Flash in a web browser, so AIR seems like the natural choice. I have also looked at http://code.google.com/p/haxecast/ and https://code.google.com/p/project-thunder-snow/ but they all seem to use the same basic idea (parse the FLV using Netstream in "data generation mode" and feed the AAC+ data to a Video object) - and so they all hit the same wall on iOS.

我也碰到<一href="http://stackoverflow.com/questions/12504447/actionscript-netstream-play-failed-ios-air-mobile?rq=1">this帖子这似乎可能与尽管它不太相同的情况下(例如,它不是FLV)。

I also came across this post which seems possibly related although it's not quite the same situation (e.g., it's not FLV).

通过HTTP?

修改这个帖子似乎也打了同样的障碍 - 所以很多人都在问这个局面。从Adobe任何人有任何见解?

EDIT: This post also appears to hit the same obstacle - so a lot of people are asking about this situation. Anyone from Adobe have any insight?

推荐答案

在更进一步的研究,我已经得出结论,AIR iOS上只是不支持这一点,你必须建立一个本机应用程序(或至少使用框架空气以外)来代替。

After much further research I've concluded that AIR on iOS just doesn't support this, and you have to build a native app (or at least use framework other than AIR) instead.

这篇关于流AAC +(内FLV)使用AIR的iOS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆