Flash :: Streaming - Generate A "NetStream.Play.StreamNotFound" Error While Play?
Mar 2, 2011
I used NetStream.play("invalid-live-stream-url") to play an invalid live stream. The other arguments are using default, e.g. start = -2, len = -1.
The menu says that when we use the default "start" and "len" to call "NetStream.play", "Plays the live stream until it is no longer available. If a live stream of the specified name is not found, Flash Player plays a recorded stream until it ends."
However, I do not have a recorded stream on the server that has the same name as the live stream, and I did not get the expected "NetStream.Play.StreamNotFound" error.
View 1 Replies
Similar Posts:
Jan 7, 2010
I am using NetStream, NetConnection and Video object to play an mp4 file which is hosted over a web server using http.This is an AIR application and the relevant code is pasted below:
var url:String = <some http url>;
connect_nc = new NetConnection();
connect_nc.connect(null);
[code]........
View 0 Replies
Nov 3, 2009
I'm recording audio using FMIS, the file is being saved out as a FLV file and I am able to play it back. Eventually that file may be deleted after some time and I would like to notify the user if the file is no longer available. I was expecting to see NetStream.Play.StreamNotFound after deleting the file on the server but I'm not getting that message. Instead I get:
--> NetStream.Play.Reset--> NetStream.Play.StartAnd nothing plays which is expected since the file is deleted, but I dont get the right message. I'm calling the file like so:ns.play ("flv:file_to_stream");
View 7 Replies
Aug 3, 2011
I would like to have the possibility to detect when NetStream is not working (i.e. the name used in initialization can't be found on the server side). The StreamNotFound doesn't work at all. I've read that it's the fault of the Flash Media Server, which automaticaly creates new stream, if it cannot be found (of course it's an empty stream - what is wrong from my point of view). Is it true? If yes, can I disable it on the server side, so I could easily detect if the stream name is correct?
View 8 Replies
Jun 1, 2010
I'm using OSMF v.95 to handle my video playback. When my streaming videos finish, the following error is triggered:"NetStream.Play.StreamNotFound"I want to be able to re-play the videoor scrub back, but the stream is unusable after that error.I've tested against a few different streams - here is one:
View 1 Replies
Nov 29, 2011
I have an FLEX application where I need to know if the LIVE stream on FMS exists when I do a NetStream.play();
Example:
var stream = new NetStream(nc);
stream.play("streamnotexists");
How can I pick the error on play how are trying to play a tream that not exists ?
View 2 Replies
Sep 23, 2010
I am streaming pre recorded audio files (mp4) to an AIR client. I have tried two different solutions,
streaming the file directly with the NetStream.play("mp4:xxxxx.m4a") and creating a server side playlist, adding the same sound clip and then streaming the playlist. The problem is, when streaming the playlist i get a few NetStream.Play.InsufficientBW, this does not happen when streaming the file direct. Both solutions uses bufferTime=1.0
I would like to use a server side playlist to implement a simple key solution so that the client dont know the full path to the file, but instead sends a key to a custom server side function that looks up the file path and creates a stream for the client.
View 1 Replies
Nov 5, 2010
I got a bunch of live stream from FMLE, say: "FMLE_channel1", "FMLE_channel2", "FMLE_channel3". And then on the server side, I created several corresponding republished stream called "channel1", "channel2", "channel3".
On periodical basis, we call Stream.get("channel1").play("FMLE_channel1", -1, 10, true) every 10 seconds. Similar things were done on the second channel & third channel.Soon after the above Stream.get("channel1").play() call, I should get the following events in sequence:info :NetStream.Unpublish.Successinfo :NetStream.Publish.Startinfo :NetStream.Play.Resetinfo :NetStream.Play.Start In the above case all are happy. Clients can view channel1, channel2, channel3 well.But then after a while, one of the three channels, in most case it would be channel1, will not be viewable.
With the server trace info, I found that after the Stream.get("channel1").play() call, only the following two events exists:
info :NetStream.Unpublish.Successinfo :NetStream.Publish.Starti.e. I was missing the play.reset and play.start event.I further checked and confirmed that the FMLE was publishing all three channels fine to the server. I was able to view the "FMLE_channel1" from flash clients, but not the republished "channel1". the version is FMS 3.5.0.
View 3 Replies
Oct 13, 2010
I'm just trying to figure out this error message that comes up when I am importing a video into flash. It says: 'NetStream.Play.StreamNotFound: Adobe flash tried to play a live or recorded stream that does not exist. Source can't be found'
View 2 Replies
Mar 23, 2010
I have a "movie player" that plays flv files using the code below (videoToPlay is the name of the file to play and is just a string). I want to use the same setup to play an mp3 file also.I tried using mySound = new Sound(); and then mySound.attachNetStream(ns);, but it gives me this error: 1061: Call to a possibly undefined method attachNetStream through a reference with static type flash.media:Sound.
View 5 Replies
Nov 4, 2010
1) What is the recommended/best practice method for loading videos (flv, f4v, mp4, etc.) from a play list. Some of the files might be on the local file system, some might be on a streaming server and uses rtmp.
2) Does the VideoPlayer.play internally use NetStream/NetConnection objects? I could get the files to play using both these methods - not sure if one is better than the other. I didn't see any references about streaming in the VideoPlayer.play method - but it does work with rtmp URLs!
3) For a long running standalone application, how do I make sure the VideoPlayer/NetStream objects are properly released/garbage collected? Right now I am closing the netstream/netconnection after playing every file - mainly because I do not know which server/file system the next video is being loaded from.
View 6 Replies
Jan 19, 2010
I'm using the netstream and video object to play a video in flash. Specifically a mp4 video.
What I'm trying to do is start playing the file from a specific position (Ex. 20seconds).
However with netstreamObject.seek(20) doesn't work unless the stream has been loaded past 20seconds. Is there a way to specify starting to load at 20s? Or any other way of accomplishing this?
View 5 Replies
Jan 19, 2011
I have 3D videos encoded with each eye's content side-by-side on each frame. What I want to do is take the left-half and over-lay it on the right-half. (I'll then change with the colors and the overlaying so that someone with blue-cyan 3D glasses can view the video).
I tried to attach a single NetStream to two video objects and offset them, but that only let the stream play on one object.
View 2 Replies
Jan 26, 2004
I was wondering if it's possible for flash to play a music stream off of di.fm. They have a jazz stream that would fit perfect for the site I'm working on.
View 2 Replies
Jan 26, 2004
I was wondering if it's possible for flash to play a music stream off of di.fm. They have a jazz stream that would fit perfect for the site I'm working on.
View 2 Replies
Sep 26, 2009
How can I streem a video into flash and have the user be able to pause play stop and ff and RW? I can play a streeming video now but I can't get it to respond to controlls.
Here is how I'm importing it.
url = "http://www.hotflashtoons.com/video/SIIDUnratedTrailer.flv";
// initialize net connection and stream
var netConn:NetConnection = new NetConnection();
netConn.connect(null);
[Code].....
View 9 Replies
Jul 13, 2010
After I updated Adobe flash player I noticed that videos I streamed did not play correctly.A video will begin to play but part way through it will freeze. It will indicate that it is buffering but it never finishes buffering and never continues to play, even if I refresh it.This occurs for several sites such as youtube, megavideo, and wisevid. This occurs for every browser I have tried (Firefox, IE, and Opera.) I also realized today that now iTunes cannot not download video either. When I try it says that parts of the files seem to be corrupted. I have uninstalled and reinstalled flash several times but that has not helped. I am using Adobe 10.1 (under version test it says it is WIN 10,1,53,64) and I have Windows 7
View 1 Replies
Sep 9, 2011
We're using HTTP live streaming service designed for Apple's iOS devices. It's working well with iOS devices currently.
Source video fragments are stored in server formatted in H.264 and with MPEG2(.ts) container. Is there a way to play these video in Flash platform?
[Code]...
View 2 Replies
Aug 24, 2009
The main problem is that the FLV doesn't load/play, which most likely causes the secondary problems, such as the bufferClip always visible and no way to test the video and audio scrubbers.
[Code].....
View 5 Replies
May 2, 2008
Hoped this would ave been fixed in as3 but this event does not always get triggered. Seems to be related to the encode. Anyways I would like to see others approach to this issue.
Currently I have place a condition in the NetStream.Play.Stop event to check if the ns.time is > the duration-1;
[as]
if (ns.time > duration-1){
playing = "complete";
}
[as]
I have noticed this does even work consistantly unless I change it to ns.time > duration-2.
View 1 Replies
Feb 7, 2009
I am trying to upload my demo reel. I compressed it to an FLV file, and used the import video command with the setting' "Load external video with playback component." After selecting my skin and hitting ok, I got a prompt that said "Netstream.play.stream not found." Why isn't this working?
View 2 Replies
Feb 6, 2009
I've got a play/pause movie on my timeline to control an FLV via NetStream. The idea is to switch from a play symbol to a pause symbol, but it's not working.[code]Clicking on the clip will start and stop the flv just fine, but the symbol switch doesn't happen. When I take out the ns code, just to check and see if the switch will actually work, there's no problem.What am I doing wrong? How can I get my clip to change from a play to a pause symbol?
View 1 Replies
Jun 15, 2010
I'm streaming mp3 on flash media server 3.5 on linux version, and very often come accross with that problem, when the buffer.length become 0 on client side, the streaming will stop with NetStream.Play.Stop event, and will not be continued. I think this case it should wait always till the data arrives and never should stopping. Some more info : I tested on applications/live folder, and the mp3 files are created dynamically during the playing, and the creation speed is almost the same like the playing speed, so those are not fix files.
View 2 Replies
Nov 15, 2011
i've created a sub-folder called dvr under fms 4.0 applications. i made a test of playing a video named sample.flv then at the same time i publish it to the same fms 4.0 server with a different video name: "mergedVideo".the asc at the fms server as following:
application.onAppStart = function()
{
trace("app start : " + application.name);
[code]...
View 1 Replies
Oct 5, 2010
I need to play an flv in streaming in a website build on a php/apache2/mysql CMS.I like a lot [url]... website and i would like to use this layout with a flv as header.
View 2 Replies
Feb 4, 2011
Is anyone having trouble with Chrome getting NetStream.Play.Stop early in Chrome? Seems to fire around the time the buffer has filled. Same code is and has been working fine in all other browsers for some time.
View 2 Replies
May 23, 2011
i have application that streams videos from fms .i try to play video of 240 seconds, but when playback reaches 180 seconds i got NetStream. play. stop . it happens regularly at the same time.why does it happen? is it encoding of the video??
View 4 Replies
Oct 1, 2009
I would like to pass a value from a text box on stage as the URL or filename to the NetStream.play() argument. example:
var url:String = url_text.text;
var conn:NetConnection = new NetConnection();
conn.connect(null);
[Code].....
The point of the matter is that I'm pulling the values from JavaScript/HTML using the ExternalInterface which changes as the user selects next on a HTML page. The page name (URL) is being parsed and passed back as the video filename. I'm using the text boxes currently just to test/view the values being received and sent to JavaScript. The value send and receive fine, I just can not seem to pass the value into the NetStream.play(JavaScriptValue).
function getTextFromJavaScript(str:String):void {
sending_ti.text = str;
var jsArgument:String = sending_ti.text;
[Code].....
View 1 Replies
Jul 28, 2009
I'm working on a project using a MVC design pattern where flvs are played form a xml playlist. I noticed something strange in the Output window. For the first flv the NetStatusEvent NetStream.Play.Start fires once, the second one fires twice, the third one three times....
Here is the part of the code where I load the video :
Code: Select allpublic function loadVideo(url:String):void
{
_nextBtn.mouseEnabled = true;
_playHead.x = 0;
[Code].....
View 1 Replies
Apr 26, 2011
I am working on my new project and i want to play streaming mp4 video in it ...so is it possible to play streaming mp4 in as 2.0? [code]...
View 4 Replies