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

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

Engaged ,
Oct 11, 2015 Oct 11, 2015

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

TOPICS
ActionScript
1.1K
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
Community Expert ,
Oct 12, 2015 Oct 12, 2015

url is incorrect.

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
Engaged ,
Oct 12, 2015 Oct 12, 2015

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

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
Community Expert ,
Oct 12, 2015 Oct 12, 2015
LATEST

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.

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