Quantcast
Channel: Adobe Community : Popular Discussions - AIR Development
Viewing all articles
Browse latest Browse all 24121

On iOS when I call netstream.play - why do I get NetStream.Play.StreamNotFound

$
0
0

On iOS, when I call netstream.play - why do I get NetStream.Play.StreamNotFound?

 

 

I am using Adobe AIR 3.7.0.2090.

My url (incomingStreamName) plays fine in the Safari browser on my iOS device,

but within Adobe AIR I get the NetStatusEvent NetStream.Play.StreamNotFound

 

 

My code is like so:

 

var incomingStreamName:String = "http://192.168.3.2/hls-live/livepkgr/_definst_/liveevent/test_ios.m3u8"

 

var nc:NetConnection = new NetConnection();

nc.connect(null);

var netStream:NetStream = new NetStream(nc);

netStream.receiveVideo(true);

netStream.play(incomingStreamName);

 

var stageVid:StageVideo = this.stage.stageVideos[0];

stageVid.attachNetStream(netStream);

 

 

Why am I getting the StreamNotFound error?


Viewing all articles
Browse latest Browse all 24121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>