Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Adobe Air iOS live streaming

New Here ,
Apr 02, 2013 Apr 02, 2013

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")

{

}

}

1.5K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 03, 2013 Apr 03, 2013
LATEST

Hi there

Please view the page at the link below:

Click here to view

Cheers... Rick

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp