Skip to main content
Participant
March 25, 2014
Question

always getting error when opening rtmp url - ERROR: Closing connection: NetStream.Play.StreamNotFoun

  • March 25, 2014
  • 1 reply
  • 1394 views

whether it is live url or vod url, it always throws this error.

Example: If I try to open this url in media player: rtmp://localhost/vod/sample1_1000kbps.f4v

it wouldnt open. And trying the same in gstreamer app, I get the error as follows:

manickam@manickam-Aspire-5738:~/gst-rtsp-server-1.2.3/examples$ gst-launch-1.0 playbin uri=rtmp://localhost/vod/sample1_1000kbps.f4v

Setting pipeline to PAUSED ...

Pipeline is PREROLLING ...

ERROR: Closing connection: NetStream.Play.StreamNotFound

Pls help. this is very annoying, as the media  server seems to have become unusable because of this error.

This topic has been closed for replies.

1 reply

Adobe Employee
March 26, 2014

NetStream.Play.StreamNotFound indciates that the stream with said name does not exist.

It seems to be some problem with your client.

The vod stream i.e vod/sample1_1000kbps.f4v plays out of the box for Adobe Media server.

In fact you can see this by visiting the home page after AMS install. Just type localhost in the web browser of the machine where you installed AMS and you should be able to play atmp stream on the web page.

I you want to play the stream on another host, then drop appropriate crossdomain.xml into the web root folder of AMS installation and restart teh server and you can see the same behaviour on other hosts too.

A sample crossdomain.xml looks like follows...Edit it to suit your needs.

<?xml version="1.0"?>

<!-- http://www.adobe.com/crossdomain.xml -->

<cross-domain-policy>

  <allow-access-from domain="*" />

</cross-domain-policy>


man palAuthor
Participant
March 26, 2014

Thanks for reply. Adding "mp4:" in the vod url did the trick. But then if I

publish a stream by specifying a url like below to the publishing s/w

-(This is on linux using gstreamer rtmpsink plugin )

rtmp://localhost/live/tester1

What is the url I need to use on the client that tries to play the stream ?

I can see in the admin console that the stream is available - shows as

"tester1" "live" ,1 client and status as publishing and some stream id

"xAAGAA..."

But to play it, using a url as was specified in the publishing s/w doesnt

work. Pls help