Media Server :: NetStream.Play.StreamNotFound Not Working?

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


Similar Posts:


Media Server :: NetStream.Play.StreamNotFound Not Dispatching?

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

Media Server :: Video Complete Triggering "NetStream.Play.StreamNotFound"?

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

ActionScript 3.0 :: Error: "NetStream.Play.StreamNotFound" While Playing Mp4 File Using NetStream Object?

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

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

Media Server :: Stream.play (live_from_FMLE, -1, 4500, True) Got No NetStream.Play.Start?

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

Media Server :: NetStream.Play.InsufficientBW When Streaming Server Side Playlist?

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

Media Server :: How To Avoid NetStream.Play.Stop

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

Media Server :: Netstream Play And Publish Simultaneoulsy?

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

Media Server :: Sending MetaData With NetStream.send Is Not Working?

May 2, 2010

I'm trying to send metaData from client to FMS server when recording Webcam video and have implemented sending of metaData as stated on Adobe's help page at: http:[url]....

However when I play the recorded video from FMS, my custom metaData properties trace "undefined".I can trace default metaData properties such as duration or videocodecid successfully,but not my custom properties such customProp,width or height. Here is part of my code that is related to the issue: private function

ncNetStatus(event:NetStatusEvent):void  [code].....

View 21 Replies

Media Server :: Got NetStream.play.stop Before It Reaches End Of Playback

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

Media Server :: Client-side NetStream Webcam Publishing To FMS 4.5 Not Working?

Dec 2, 2011

I'm trying to create a simple application that streams the webcam to FMS 4.5 (running on a Windows 7 machine), and then displays the published stream locally. Here's my code:

import flash.net.NetStream;
import flash.media.Video;
import fl.video.FLVPlayback;
import flash.events.NetStatusEvent;

[Code]...

All traces in the event handlers show the NetConnection connecting successfully, and the netstream publishing successfully. However, I get no video output from this. I've confirmed this using the sample video player in FMS 4.5 as well. There is also a weird traffic pattern reported in the FMS Admin console.There is some traffic (~4K) when the NetStream first publishes, but after that there is no activity.

View 1 Replies

Media Server :: NetStream.play(streamName, -1);  Plays Recorded Stream?

Sep 16, 2011

NetStream.play(streamName, -1); This seems to be working wrong.if I have recorded an flv on server using FMS and FMLE with  only audio with name "myaudio" and then after if I try to play a live  stream using NetStream.play("myaudio", -1) then it plays the recorded  stream. I believe that documentation says that it should start a live  stream instead of playing recorded stream as the second argument is -1.  Is this a bug in NetStream.play method?

View 3 Replies

Media Server :: NetStream.Play.Stop And Complete Fired Early On RTMPE Streams

Oct 20, 2011

I am experiencing an issue with playback on RTMPE streams. after investigation it seems that the FMS server is firing the NetStream.Play.Complete message at random points, indicating that a stream has ended. This is happening and random points during the stream,  not even close to the end.[code]As you can see roughly 17mins into playback...although the stream is 1 hour 24mins long.I have tested this numerous times, and each time it is at a different point in the stream.Intermittently the NetStream.Play.InsufficientBW warning is being fired prior to NetStream.Play.Stop.I am using a player built on OSMF 1.5

View 1 Replies

Media Server :: Client Side Playlist With NetStream.play Using Start Offset Causing Jerky Cuts

Dec 1, 2009

I have a series of mp4 videos (H.236 @ 22 fps) streaming from an akamai FMS serve via RTMP protocol in flash player 9+ with AS 3.My goal is to create client side playlists that smoothly switch from one stream to another. I am creating these playlists using a series of netStream. play (filename,start,len) methods. If I don't use an offset for the start parameter, then the stream switches smoothly from one video to the next with not noticeable jump or jerkiness. However if I introduce a start offset, say a few seconds in, I start to see a quick little hiccup or pause between the seams as it switches from one playlist stream to the next.

View 1 Replies

Media Server :: Getting Lots Of "NetStream.Play.InsufficientBW" When There's Plenty Of Bandwidth?

Feb 8, 2010

We've upgraded our production servers to 3.5.3 on Windows 2008, and now I'm seeing a lot of "NetStream.Play.InsufficientBW" statuses in our client app's log  The server is streaming a very low bandwidth live video/audio stream, and the client has more than plenty of bandwidth to play it  The stream doesn't exhibit any audio drops or skipped frames, and there are no message drops on the server side  We have had clients complaining of random disconnects. Does anyone know why I might be getting this message

View 13 Replies

Media Server :: "NetStream.Play.InsufficientBW" Dispatched When There's Plenty Of Bandwidth?

Mar 29, 2012

I am working on the Audio-Video application having two Flash Media Server, One is Flash Media Interactive Server and another is Flash Media Streaming Server.I am publishing stream on Flash Media Streaming Server and receiving stream from Flash Media Streaming Server. Flash Media Interactive Server  publish stream to live folder "rtmp://xxx.xxx.xx.xx/live" Flash Media Streaming Server from server side code.when application.onPublish of Interactive server dispatch then the stream published by interactive server  has been republished to live of the streaming server and from there client receive stream by
making connection with live folder of Streaming server. Stream from streaming server received successfully but

View 1 Replies

Flash :: Catch StreamNotFound On A LIVE NetStream?

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

Media Server :: FMS Serverscript Stream.play Not Working Because Of FMLE?

Feb 23, 2012

i was modified the main.asc script in livepkgr, it used to call s.play(streamObj.name), which i assume this is the code it play the stream from FMLE to s.play("FileName") , which is a flv video file in my application. unfortunately when i start the FMLE stream to the FMS and watch the stream with the FMS Sample Video player, i was expecting to see the video content from the flv, but instead the camera footage in playing on the player.

i am very confusing now, i thought the s.play the only code to control what should be playing in application. or when FMLE is connected to server, the server must play the footage from FMLE by some hidden code, no matter what s.play wanna to play?

View 2 Replies

Media Server :: Unable To Play HTTP Sample,RTMP File Is Not Working?

Aug 12, 2009

i have installed flash media server 3.5 ..windows vista and using FLASH 10right now in Flash Media Server page I am only able to play HTTP sample,RTMP file is not working , i check the sample folder >> and open HelloWorld >> that shows error :: Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Connect.Failedat HelloWorld/connectHandler()what should i do now need ur help urgent

View 5 Replies

As3 :: Media Server :: Limit Server Recorded Netstream Length To 10 Seconds At Client Side

Sep 19, 2010

I want to limit server recorded netstream length to 10 secs at client side using as3. How can I do that?

View 2 Replies

Media Server :: NetStream Seems To Never Connect?

Jul 30, 2009

I'm trying to make an application that streams audio from an audio stream, but the NetStream seems to never connect. I don't have Flash Media Server.

View 3 Replies

Media Server :: Can't Mute A NetStream

Apr 25, 2011

I'm creating a video chat app using Flash Media Server 4 and Flex, using RTMFP for peer-to-peer.
 
No matter what I try, I cannot mute a user's NetStream. I tried receiveAudio(false) and that does not work.
 
I tried capturing the stream SoundTransform and setting the volume of that to 0, that does not work.
 
I tried setting the mx VideoDisplay volume to 0 and that does not work.
 
I can set the alpha of the VideoDisplay, so its really strange that I cannot set the volume.
 
BTW, I am not trying to mute the mic of the user who launched the app, that I can do. I'm trying to mute one of the other users stream in the Flex app, that way the app makes it possible to not hear people who are perhaps being offensive.

View 2 Replies

ActionScript 3.0 :: NetStream Play Complete Still Not Working?

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

Media Server :: Get NetStream.time On The Serverside?

Jan 26, 2010

I'm using the following code to attempt to get netStream.time on the serverside.....i've tried various ways googled it but have come up short...what code do i need to use so i can track a streams progress from the server side?
 
myStream = Stream.get("home1");
setInterval(time,5000,myStream.time); function time(myStream){  trace(myStream); }

View 2 Replies

Media Server :: Multiple NetStream Creation?

Mar 23, 2010

I have an FMIS 3.5 app where I am attempting to publish multiple streams to an edge server.I have found that if I loop through my list of streams and attempt to publish to the edge server (i.e. as fast as possible), the publishing will fail  They succeed if I have some delay between the publish calls.

View 4 Replies

ActionScript 2.0 :: F8 Play / Pause Clip Not Working With NetStream

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

Media Server :: NetStream Time NaN After A Period Of Inactivity

Jun 25, 2009

I am developing a video player for FMS 3.0 and my client complains that when he leaves the player running overnight or after computer goes to sleep when he comes back the elapsed time displayed as NaN and when he tries to play, nothing happens. Why is this happening? Does it mean that the connection with the FMS dropped and I have to reconnect? How can test for the dropped connection?

View 2 Replies

Media Server :: NetStream BytesLoaded Not Registering With Streaming?

Jul 10, 2009

I'm working with a custom made Flash video player using FMS (Wowza, actually).The video is working, yet when I access the BytesLoaded and BytesTotal,I get 0 (zero) for each.This even persists as the video is loading and playing.It's as if it is not even being registered at all.Here's the code:

var amountPlayed:Number = Math.round(ns.time * tlInterval) / Math.round(duration * tlInterval) * tlInterval;
controls.tl.width = Math.round(amountPlayed) * controls.tlw / tlInterval;[code].....

I tested this with a similar player that uses progressive downloading instead, and I get real data.

View 2 Replies

Media Server :: Send An Image Using NetStream Or NetConnection?

Jun 23, 2010

Would I be able to send a image using NetStream or NetConnection?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved