Skip to main content
Inspiring
October 12, 2015
Question

Error: “NetStream.Play.StreamNotFound” while playing f4m file using NetStream object

  • October 12, 2015
  • 1 reply
  • 1163 views

Hello,

I try to play a F4m file

var url:String = "some_http_url.f4m";

connect_nc
= new NetConnection();
connect_nc
.connect(null);

stream_ns
= new NetStream(connect_nc);

stream_ns
.client = this;
video
.attachNetStream(stream_ns);  

stream_ns
.addEventListener(NetStatusEvent.NET_STATUS, onNetStatusEventHandler);
stream_ns
.play(url);

but I have this error "NetStream.Play.StreamNotFound"

Thanks

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
October 12, 2015

url is incorrect.

pol2095Author
Inspiring
October 12, 2015

The url is corect, it work with org.osmf.media.MediaPlayer, but osmf doesn't work with Stage3d VideoTexture ?

kglad
Community Expert
Community Expert
October 12, 2015

then you have a lot more code than the code you showed.

in any case, enable debugging add the netstream ioerror and onmetadata listeners to debug you code.