NetStream.play(streamName, -1);  plays recorded stream.

NetStream.play(streamName, -1); 
This seems to be working wrong.  For example, 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?

i do belive -1 says start playing the recorded video from the being saying some like NetStream.play(streamName,"live"); makes it live. look what i think up though I could be wrong I rarely use -1 

Similar Messages

  • Playing recorded stream

    Hi
    I have a problem with playing recorded stream. I have file in streams folder, I play() it and then after some time (few seconds/minutes) the stream just disaperas (from streams tab in console) and playback in users stops. stream.onStatus doesnt dispatch anything.
    Whats the problem?
    T76

    Can you please test the recorded stream using flvcheck.. Please also check core.log files to see it they report any errors..

  • Adobe Flash tried to play a live or recorded stream that does not exist. Source can't be found

    NOTE: This thread was started in the flash pro forum: http://forums.adobe.com/thread/898879?tstart=0 . However, because of adninjastrators recommandation, I open the thread here:
    Hello there,
    I have started a stream from Flash media encoder to flash media server. According to my encoder, it should be located at: "rtmp://localhost/live" and is called livestream.
    In the Flash  software I try and set the source of FLVPlayback component to "rtmp://localhost/live/livestream", and I get this error: "NetStream.Play.StreamNotFound : Adobe Flash tried to play a live or recorded stream that does not exist. Source can't be found.". Both the server and encoder is runnind and I am encoding.
    Too, when I try and open the html with the stream in a browser, nothing appears.
    What should I check?
    Thanks.
    Kind regards,
    Marius

    Thanks for your reply.
    Server, encoder and player are all on the same computer.
    Admin console confirms the existence of "livestream" of type "Live" and a "NetStream" called "ABAF". No idea what the latter is.
    Also, thought I'd mention that I have to start the servers from the Control Panel -> administrative tools -> services. If I try and start the server from the start menu, they dont start.
    Thank you for your time.
    Kind regards,
    Marius

  • NetStream.Play.InsufficientBW when streaming server side playlist

    Hi
    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.
    TIA
    Ruben Chadien
    FMS 4.0(linux)

    Subscribing via playlist and playing file directly are two different things , as first one is live mode of play while other is playing recorded file - so the way streams are delivered are also quite different. Can you try setting higher buffer and see if that helps or if you don't want to set higher buffer, see if disabling AggregateMessages (you will find the tag in Application.xml under Live/Queue) helps

  • Newbie: Flash tried to play a live or recorded stream that does not exist.

    Hello there,
    I have started a stream from Flash media encoder to flash media server. According to my encoder, it should be located at: "rtmp://localhost/live" and is called livestream.
    In the Flash  software I try and set the source of FLVPlayback component to "rtmp://localhost/live/livestream", and I get this error: "NetStream.Play.StreamNotFound : Adobe Flash tried to play a live or recorded stream that does not exist. Source can't be found.". Both the server and encoder is runnind and I am encoding.
    Too, when I try and open the html with the stream in a browser, nothing appears.
    What should I check?
    Thanks.
    Kind regards,
    Marius

    So just to clarify, the server is installed on the same machine that you are using to do the encoding, correct?
    And you are using Flash Media Live Encoder to do the encoding?
    I don't have Flash CS5 for I'm not sure what is in there to do the encoding.. but more on FMLE here:
    http://www.adobe.com/products/flashmediaserver/flashmediaencoder/
    There are two step used to get the encoding going with FMLE...
    1. after setting all the config settings, click the "Connect" button. Then open the encoding log and you will be able to see if connection was made to the server or not. Can you successfully connect to the server? if not, what is the error message?
    2. click the "Start" button and in the encoding log, you will see that the audio and video encoding has started. What does the encoding log say?
    Best wishes,
    Adninjastrator

  • NetStream.Play.Stop and Complete fired early on RTMPE streams

    Hi there
    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.
    The order of Status messages is as follows:
    Thu Oct 20 2011 04:15:17 PM :: NetStream.Play.Start : status
    Thu Oct 20 2011 04:32:40 PM :: NetStream.Play.Stop : status
    Thu Oct 20 2011 04:32:40 PM :: NetStream.Buffer.Flush : status
    Thu Oct 20 2011 04:32:58 PM :: NetStream.Buffer.Empty : status
    Thu Oct 20 2011 04:32:58 PM :: onPlayStatus : NetStream.Play.Complete
    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.
    Just need to know why these messages would be fired and how to handle them
    Thanks
    Steve

    Hi Steve,
    Thanks for the information. Did you check with flvcheck tool to see if the file is a valid FMS file ? If not, can you do that please ?

  • How to know the status of stream played using NetStream.Play method ?

    I am playing stream data published by third party server
    similar to FCS by creating NetStream object and calling Play method
    on it. Now the problem is, sometimes I am not able to view the
    published stream by playing it using Play method. Also it does not
    call OnStatus method of NetSteam. How can I know the status(or
    result) of Play method ?
    Note: NetConnection gets created successfully. I get status
    of NetStream.Play.Start / Stop when I put local flv as a first
    parameter to Play method

    Hi
    There are SQL reports in the following zip which has SQLDeveloper reports for runtime objects such as mappings and process flows;
    http://www.oracle.com/technology/products/warehouse/htdocs/Experts/owb_sqldeveloper.zip
    Cheers
    David

  • [svn:osmf:] 14601: Fix bug where parsing of stream that gets passed to NetStream.play doesn' t take urlIncludesFMSApplicationInstance into account, resulting in stream not found error.

    Revision: 14601
    Revision: 14601
    Author:   [email protected]
    Date:     2010-03-05 09:47:28 -0800 (Fri, 05 Mar 2010)
    Log Message:
    Fix bug where parsing of stream that gets passed to NetStream.play doesn't take urlIncludesFMSApplicationInstance into account, resulting in stream not found error.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/net/NetStreamPlayTrait.as
        osmf/trunk/framework/OSMF/org/osmf/net/NetStreamUtils.as
        osmf/trunk/framework/OSMF/org/osmf/net/dvr/DVRCastNetConnectionFactory.as
        osmf/trunk/framework/OSMFTest/org/osmf/net/TestNetStreamUtils.as

    I had a while ago similar problem with USB memory stick. At the end, I don't know why, just formatting it using WinXP helped me.
    S-
    Last edited by StenM (2011-07-22 17:56:32)

  • Stream.play(live_from_FMLE, -1, 4500, true) got no NetStream.Play.Start

    Hi,
    I am stuck on one random issue that I really need your help.
    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.Success
    info :NetStream.Publish.Start
    info :NetStream.Play.Reset
    info :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.Success
    info :NetStream.Publish.Start
    i.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".
    Can anyone help to solve the problem please? the version is FMS 3.5.0. Thanks.

    Thank you very much for your effort in helping.
    1. How do I check the said logs?
    2. I will upgrade to 3.5.4 and have a try. Unfortunately I am out of town now and could not do it in the new few days.
    3. When you asked about repeatedly calling of Stream.get(), are you implying some kind of memory leaks? Or do you have other implications in your mind? We are handling an array of broadcasting channels. Of course, we could've saved the handles in an array, but we did it the way as it is now for the sake of simplicity.
    4. Another clue/observation: say for a F4V clip of 44 seconds (e.g. name it as example.f4v). If I call Stream.get("channel1").play("mp4:sample.f4v", -1, 45, true) at one point, and after 45 seconds, if I do another call of Stream.get("channel1").play("mp4:sample.f4v", -1, 45, true), "channel1" will show no video after the second call. Please note in this example, the video length is actually 44 seconds, but I treat it as if it is 45 seconds.
    Your continued help will be highly appreciated!

  • Local video file (.mp4) file not play in MAC OS using netstream (NetStream.Play.StreamNotFound)

    I have developed adobe air application using adobe flash builder 4.6 for Windows and Mac OS. Application allow user to download movie (.mp4) file in his system at specific location for play  without live streaming. File downloading correctly in both OS and also file playing from download location in Window application correctly. but when start playing file Mac OS application not start playing.
    When start playing in mac OS, NetStatusEvent.Net_Status event return "NetStream.Play.StreamNotFound" event info code. I have found one solution for mac OS is use colon notation instead of slash notation. I have tried it but it also not working.
    Code:
    _nc = new NetConnection();
    _nc.addEventListener(NetStatusEvent.Net_Status, connectionHandler);
    _nc.connect(null);
    private function connectionHandler(event:NetStatusEvent):void
         trace("Connection to server: " + event.info.code);
         /// Get "NetStream.Play.StreamNotFound" code in mac OS.    
    slash notation path: /Users/mayur/Downloads/myvideo.mp4
    Colon notation path: I have tried following colon notation path
    1) :Users:mayur:Downloads:myvideo.mp4
    2) Users:mayur:Downloads:myvideo.mp4
    3) Macintosh HD:Users:mayur:Downloads:myvideo.mp4 (Macintosh HD - Drive name)
    Please help me to solve this issue.

    Finally I found a solution...
    The problem is that AIR on Android stores the application data in the protected directory /data/... which is not accessible by StageWebView (or any browser app).
    So you have to copy the video file you want to play to a temporary pubic directory on the sd-card for example and use this in StageWebView.
    You also have to create a temporary html-page with the video-tag and load this page in StageWebView (not the string) because external resources are only loaded in StageWebView when using an URL.
    On iOS the application storage directory is readable for StageWebView so you don't have to do this step.
    Hope this helps

  • Netstream.play() mp3 file

    Hello.
    I am having troubles playing an mp3 stream, using
    Netstream.play()
    According to AS 3.0 livedocs in Adobe...
    quote:
    To play MP3 files, use mp3: before the stream name. To play
    the ID3 tags of MP3 files, use id3: before the stream name
    http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/NetStream.html)
    When I test playing a video stream (.flv), everything works
    fine.
    The error I get when I try to play an mp3 is:
    Failed to play (stream ID: 1) code:
    NetConnection.Call.BadVersion
    I tried every different type of combinations:
    stream.play("mp3:test.mp3"), (test), (test.mp3) and nothing works.
    However, only in "mp3:test" I get the Call.BadVersion error. On the
    other ones, simply it doesn't play nothing... It finds the file
    though... because I get some results in the event handlers that i
    don't get when I enter an invalid filename...
    My question is... What is "NetConnection.Call.BadVersion",
    and is it really possible to play an mp3 stream. Are there other
    methods?

    Hi,
    Just check this url .its good you will get some idea.
    http://labs.flexcoders.nl/samples/MP3Player/version003/srcview/index.html
    Thanks,
    Anand.G

  • NetStream.Play.Stop : Problem:

    Hi,
    I have develop video streaming application with  Flash Media server 3.5 + and Use Dynamic stream feature , this player work correct in all way but issue with NetStream.Play.Stop() command set while playing video without EOF
    i.e video file .f4v format has 30 sec lenght ,
    -player face NetStream.play.stop() command @ 2.30 without indicate any stop command ,its automatically halt but last 0.30 is remaning.
    Any idea regarding this dobet please help me ..
    Thanks ,
    a

    Question 1: When I put the .FLV files to play in the
    "\streams\_definst_" of
    the application directory of the Flash Media Server
    installation, does that
    automatically turn it into streaming FLV and no longer
    progressive FLV?
    The distinction between progressive and streaming is the
    NetConnection.connect
    Question 2: What's the best way to detect or to signal my app
    that the
    streaming FLV has completed playing?
    Not sure what the best way is. But I subclass the NetStream
    class similarily
    to how it is presented in the Flash Communications Server
    book example 5-5.
    http://www.flash-communications.net/sourceCode/index.html
    It uses a combination of NetStream.Play.Stop and bufferLength
    == 0 as one
    signal to toggle a stopped state flag and
    NetStream.Buffer.Empty and that
    stopped flag as another signal. The stopped flag is turned
    off on the next
    NetStream.Play.Start.
    Lon Hosford
    www.lonhosford.com
    May many happy bits flow your way!
    "naz404" <[email protected]> wrote in
    message
    news:e3ffu4$a6c$[email protected]..
    Hi. I built a dynamic FLV player using XML playlists but
    using progressive
    downloads.
    I've been trying to migrate it to a Flash Media Server 2.01
    solution, but
    after I did,
    "NetStream.Play.Stop" no longer seems to be happening
    properly.
    Question 1: When I put the .FLV files to play in the
    "\streams\_definst_"
    of
    the application directory of the Flash Media Server
    installation, does that
    automatically turn it into streaming FLV and no longer
    progressive FLV?
    Question 2: What's the best way to detect or to signal my
    app that the
    streaming FLV has completed playing?
    Also, "NetStream.Play.Complete" never seems to occur, even
    if the stream
    has
    completed playing.
    Thanks!

  • Playing icecast stream with flash-plugin problem

    Hello,
    i've got a problem playing an mp3 stream from a livecast
    server with the flash-plugin (version 8,0,24) on IE (version
    6.0.2900.2180.xpsp_sp2_gdr.050301-1519)
    On my pc it plays fine, on another pc (with the same
    versions) it doesn't play at all.
    Though in will play fine in firefox on both pc's.
    I can see in the icecast admin that there are listeners
    connected, so it has to be flash that's not playing the stream it's
    receiving.
    code used:
    var streamName = 'stream'
    System.security.allowDomain("
    http://www.insertserverurlhere.com");
    myRadio = new String("
    http://www.insertserverurlhere.com:8000/"+streamName);
    mySound = new Sound();
    mySound.loadSound(myRadio, true);
    mySound.start();
    Can anyone help me?
    Greetings,
    Ramon

    Anyone??

  • Getting lots of "NetStream.Play.InsufficientBW" when there's plenty of Bandwidth

    Hi All,
    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?  If anyone from Adobe could help with this, I'd greatly appreciate it.  Thank you.
    Best,
    -Costin

    Hi Asa,
    Thanks for the reply! 
    Unfortunately, I already had this in my Application.xml and it was still doing it:
         <Queue enabled="false">
    Any other work arounds at this time?
    In addition, I'm getting reports that users are getting disconnected.  After some arbitrary time, the server issues a "NetConnection.Connect.Rejected" for no reason, or at least none that I can find.  Is this also a known issue?  Please advise, since this is happening on our production systems.  Should I roll back to 3.5.2?
    Thank you!
    -Costin

  • Flash media live encoder, play live streaming failed!

    Hi, I install a fms3.5 and fmle3.1 on my computer. In fmle, I set video format is h264,and fms url:RTMP://192.168.8.6/live ,stream: livestream. The input and output windows' video is ok.
    The following is fmle log:
    Tue Jun 22 2010 12:25:19 : Primary - Connected
    Tue Jun 22 2010 12:25:19 : Primary - Network Command: onBWDone
    Tue Jun 22 2010 12:25:19 : Primary - Stream[11] Status: Success
    Tue Jun 22 2010 12:25:19 : Primary - Network Command: onFCPublish
    Tue Jun 22 2010 12:25:19 : Primary - Stream[11] Status: NetStream.Publish.Start
    Tue Jun 22 2010 12:25:19 : Session Started
    Tue Jun 22 2010 12:25:19 : Video Encoding Started
    The following is my source code to play live stream:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
        <mx:Script>
            <![CDATA[
             import mx.controls.Alert;
             private function showFlv():void {
                //myVideo.source = "rtmp://192.168.8.6:1935/vod/test.flv";
                myVideo.source = "rtmp://192.168.8.6:1935/live/livestream";
                 Dumper.info(myVideo.source);
             ]]>
        </mx:Script>
        <mx:Panel width="100%" height="100%">
          <mx:VBox width="100%" horizontalAlign="center">
            <mx:Text text="code display"/>
            <mx:Button label="play flv" click="showFlv();"/>
          </mx:VBox>
          <mx:VideoDisplay width="100%" height="100%" id="myVideo"/>
        </mx:Panel>
    </mx:Application>
    If I use myVideo.source = "rtmp://192.168.8.6:1935/vod/test.flv" ,it can play video.  Use :myVideo.source = "rtmp://192.168.8.6:1935/live/livestream",  Can't get video. Why?
    I just want to play live video on pc.

    Who can help me??

Maybe you are looking for

  • Iphone 4 no longer changing audio source to make call via in car bluetooth.

    Hi, I have an Audi A4, my iphone 4 connects to it, you can look at the directory's, calls made, missed etc, When you want to make a call or receive a call, the audio source from the phone is not put through the car, its only goes through the phone. C

  • Bootcamp, A2DP using Vista on Macbook Air ( How To )

    Hi, Thought I help those out who've recently picked up a Macbook Air and get them running on Bluetooth/Windows. People complain about the 1 USB, but who cares, the only thing I've got in the USB (when needed) is the Superdrive and everything else run

  • Why can't I download a pdf from easyjet

    WWhy can't I download a PDFs (air ticket) from easy jet onto my ipad

  • Errors with flashplayer 9

    My computer said I needed to install flashplayer 9 so i did that and automatically i couldn't see any kind of pictures or videos. I figured a problem must have occured so i tried uninstalling it and it wouldn't uninstall. I had to come to this websit

  • Importing SLD content takes lot of time in Solman 4.0

    Hi Folks, Importing SLD content takes lot of time while installing Solution Manager 4.0. Its in the 42nd phase of 45...SQL 2005 DB. Its stuck in Configuring system landscape directory....and NOT thrown any error as of now...touch wood. Can anyone tel