I have to make live streaming radio application for ios devices I am using Adobe flash cs6 I tried 2 sets of code both the code audio played well on my computer but When i test on iphone it doesn't played Please Help
code set 1
var connect_nc:NetConnection = new NetConnection();
connect_nc.connect(null);
var stream_ns:NetStream = new NetStream(connect_nc);
stream_ns.play("http://5303.live.streamtheworld.com/HITAAC?streamtheworld_user=1&nobuf=");
code set 2
var video:Video = new Video();
addChild(video);
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
video.attachNetStream(ns);
ns.play("http://5303.live.streamtheworld.com/HITAAC?streamtheworld_user=1&nobuf=");
ns.client = {onMetaData:ns_onMetaData, NetStatusEvent:ns_onPlayStatus};
function ns_onMetaData(item:Object):void {
video.width = 50; video.height = 50;
}
ns.addEventListener(NetStatusEvent.NET_STATUS, ns_onPlayStatus);
function ns_onPlayStatus(event:NetStatusEvent):void
{
if(event.info.code == "NetStream.Play.Stop")
{
}
}