Live Instance in Flash Media Server 4.0 crashes/causes stream failure

Hi,
I have a Flash Media Server streaming version 4.0 server that is expierencing some issues.  Currently multiple inlet encoders are publishing live video content to this FMS.  At random times, the live_definst_ instance will crash and then restart itself.  The encoder does not recognize this new session and as a result, no new live video is being sent unless the encoder is stopped/started.  This cannot be done during live events, however. 
I also have an enterprise version 4.0 that does not have this issue.  Is there a fundamental difference between the streaming/enterprise versions that would cause this issue and if so, is there any modifications that can be done to the streaming server that can fix this?
Also I've noticed on the master logs that the enterprise server has various
_defaultRoot_L_defaultVHost_:::_0 expierenced 1 failure's
After this it seems like it starts.  However, the streaming server has this:
_defaultRoot_L_defaultVHost_:::_0 expierenced 2 failure's
Recovering core _defaultRoot_:::: with 2 failure[s] after 300 seconds!
What exactly is this "recovering" process, could this be what is causing this issue?  Can I disable this in the config?

You need to place the crossdomain.xml in the webroot folder. Create a text file in the webroot folder using notepad, and call it crossdomain.xml. The text below will give you a wide open access policy, which is fine for testing.
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
          <allow-access-from domain="*" />
</cross-domain-policy>
For debugging HTTP streaming I recommend you get hold of something like Charles or Fiddler. These will greatly assist in pinpointing any issues.

Similar Messages

  • FLEX 2.0 and Flash Media Server 2.0 Unable to stream from client to server

    Hi All,
    I have been trying to put together a quick demo to stream
    and record audio from Client to Server. I get this error when
    trying to connect to FMS.
    ArgumentError: Error #2126: NetConnection object must be
    connected.
    at flash.net::NetStream/flash.net:NetStream::construct()
    at flash.net::NetStream$iinit()
    at Audio/toggle()
    at Audio/__submit_click()
    my Program fails at this line - ns = new NetStream(nc);
    Your help is greatly appreciated. Here is the MXML file
    Audio.mxml
    This file contains a simple start and stop button start and
    stop audio processing.
    This page is served from Apache Tomcat on host : demoserver1
    and port 8080
    Flash media server is also installed on the same host
    demoserver1.
    I did not do any additional config at FMS except creating an
    application called "DemoApp". All other settings are defaults.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    applicationComplete="startup()">
    <mx:Script>
    <![CDATA[
    import flash.net.NetConnection;
    import flash.net.NetStream;
    public var started:Boolean = false;
    public var nc:NetConnection;
    public var ns:NetStream;
    public var mp:Microphone;
    public function startup():void{
    lblMessage.text="Stopped";
    public function toggle():void{
    if (started==false){
    submit.label="Stop";
    started=true;
    lblMessage.text="Started";
    nc = new NetConnection();
    nc.addEventListener(NetStatusEvent.NET_STATUS,
    netStatusHandler);
    nc.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
    securityErrorHandler);
    nc.objectEncoding = flash.net.ObjectEncoding.AMF0;
    nc.connect("rtmp://demoserver1/DemoApp");
    ns = new NetStream(nc);
    ns.addEventListener(NetStatusEvent.NET_STATUS,
    netStatusHandler);
    mp = Microphone.getMicrophone(0);
    ns.attachAudio(mp);
    ns.publish("sample1", "record");
    else{
    started=false;
    submit.label="Start";
    lblMessage.text="Stopped";
    ns.close();
    nc.close();
    private function netStatusHandler(event:NetStatusEvent):void
    switch (event.info.code) {
    case "NetConnection.Connect.Success":
    trace(" connection success : " );
    break;
    case "NetStream.Play.StreamNotFound":
    trace("Stream not found: " );
    break;
    private function
    securityErrorHandler(event:SecurityErrorEvent):void {
    trace("securityErrorHandler: " + event);
    ]]>
    </mx:Script>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    width="400"
    height="300">
    <mx:HBox left="19" right="0" height="100" top="30">
    <mx:Label text="Label" id="lblMessage" width="150"/>
    <mx:Button label="Start" click="toggle()" id="submit"/>
    </mx:HBox>
    </mx:Canvas>
    </mx:Application>

    Hi,
    Are you trying to make an air app or a web application (flash) for streaming? You may want to check out the osmf framework to help you write a player for mobile platform. Check out http://www.opensourcemediaframework.com/ for more info on how you can write streaming video players using this framework. There are some good tutorials there and also you may post on the forum to get your specific queries solved.
    Thanks,
    Abhishek

  • Streaming live audio without flash media server

         I have an mp3 player, that I would like to add live streams to.
    here is an example url of what I'd like to stream. http://85.17.174.181:6968
    is there a way to do that in flash AS3?

    >>don't tell me I need the server to include me in their cross-domain policy???
    Always... servers that allow public access will typically have a wildcarded cross domain though. And in that case you just need to tell the sound load to check the policy file using SoundLoaderContext like so:
    var context:SoundLoaderContext = new SoundLoaderContext(100, true);
    var a:Sound = new Sound();
    a.load(new URLRequest("http://85.17.174.181:6968/"), context);
    a.play();
    It doesn't look they have a crossdomain.xml file in place though...

  • Can any one tell me when i use adobe flash media encoder how can i see my live vidoes on flash media

    can any one tell me when i use adobe flash media encoder how can i see my live vidoes on flash media server . thnx

    Flash Player version 10.1.102.64 is the last version available to PPC Mac users. However, this Flash version won't work for many videos on Facebook, YouTube and other sites. Adobe's latest version, 10.2.x or later, is only for Intel Macs. Adobe will not provide a newer Flash version for PPC Macs.
    The message requesting that you download Adobe Flash Player takes you to Flash Player requiring an Intel processor. Doesn't work on a PowerPC processor. I found a hack, installed it & it works with Firefox, TenFourFox & Safari.
    Download this http://www.steelbin.com/FPforFBPPC.zip to your desktop, unzip it, and replace the current Flash Player plug-in which is in your main/Library/Internet Plug-Ins folder, (not the user Library). Save the old one just in case this one doesn't work.
    Hack Allows PowerPC Macs to Access Flash 11 Content
    http://lowendmac.com/ed/royal/12sr/flash-11-and-powerpc.html
     Cheers, Tom

  • Should I choose Flash Media Server?

    Hi,
    I'm trying to decide if I should purchase flash media server
    for my streaming needs. I like working with flash, so that's why
    I'm considering the flash media server.
    Here is my streaming server "wishlist":
    -variable playback speeds(fastforward, skip, rewind, restart,
    etc)
    -option of downloading entire video to local machine
    -support for multiple file types or conversion/encoding
    multiple file times
    -security options to lock down source files
    -a flexible platform to build custom players
    -hook up to a database(mysql, mssql)
    I looked through the flash media server specs on the Adobe
    website, but they really don't get into specifics.
    Thanks

    Hi,
    I'm trying to decide if I should purchase flash media server
    for my streaming needs. I like working with flash, so that's why
    I'm considering the flash media server.
    Here is my streaming server "wishlist":
    -variable playback speeds(fastforward, skip, rewind, restart,
    etc)
    -option of downloading entire video to local machine
    -support for multiple file types or conversion/encoding
    multiple file times
    -security options to lock down source files
    -a flexible platform to build custom players
    -hook up to a database(mysql, mssql)
    I looked through the flash media server specs on the Adobe
    website, but they really don't get into specifics.
    Thanks

  • Live Streaming video and Flex2(3?) + Flash Media Server?

    I've seen alot of topic on how to create video sites for
    clips, etc. with Flex and Flash Media Server, but how about live
    streaming video, like a concert or a seminar. I can't find any
    information on this at all, could anyone point me in the right
    direction?

    What you need is grab video/sound form camera/mic, publish it
    on FMS and let the other clients play it. In a few steps:
    // get camera and mic
    var cam:Camera = Camera.getCamera(); // get default camera
    var mic:Microphone = Microphone.getMicrophone(); // get
    default mic
    // if you have VideoDisplay, for monitoring
    videoDisplay.attachCamera(cam);
    // create new RTMP connection to FMS/your app
    var nc:NetConnection = new NetConnection();
    // new stream should be create *after* nc has connected, not
    before
    // so this is executed after the below nc.connect() succeeds
    nc.attachEventListener(Event.CONNECT, function(){
    var ns:NetStream = new NetStream();
    ns.attachCamera(cam);
    ns.attachMicrophone(mic);
    ns.publish("streamname", "live"); // or "record" if you want
    to live+rec
    // connect to default instance of app 'appname' on your FMS
    nc.connect("rtmp://fms.ip.address/appname");
    If you're using Flex2 and FMS2 (the latest FMS is 3), you
    might need to
    cuange the connection encoding to AMF0 (which is what FMS2
    uses) in order for this to work.
    Hope this helps; I've written it from my head so it probably
    has mistakes, but it's the general workflow; the docs in the
    language reference for specific functions mentioned here will also
    help.

  • How to use flash media server with cisco show n share live event module?

    hello all
    Is it  possible to use flash media server in show n share (non dme)live event ?  i 've configured flash media server, can receive  multicast streams, bu i have no idea what to write in video url fild in the live event basic setup.

    Hi Temur,
    You should be able to stream from a Flash Media Server.
    The URL should look like this:
    rtmp://xxx.yyy.com//flv:
    You can do some tests from a PC to get the exact URL that would suit your environment.
    Regards,
    Nicolas

  • How to integrate flash media server 4.0 live streaming for iOS devices ?

    Hi All,
    I have website which has live streaming module its working fine, same module i want to integrate for iOS devices. For live video streaming we are using FMS 4.0. So please let me know how we can integrate this for iOS devices using flash media server 4.0.
    Thanks in Adavnce
    Mohammad Sharique

    You need to place the crossdomain.xml in the webroot folder. Create a text file in the webroot folder using notepad, and call it crossdomain.xml. The text below will give you a wide open access policy, which is fine for testing.
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
              <allow-access-from domain="*" />
    </cross-domain-policy>
    For debugging HTTP streaming I recommend you get hold of something like Charles or Fiddler. These will greatly assist in pinpointing any issues.

  • Live Streaming with flash media server

    Hi,
    i am installing flash media server 5.0. And its working perfect locally, I need to publish my video through my own IP address. How can i configure local to server

    Thanks for the response
    I m having Flash Media Server 4.5 . It works correctly in localhost. I want to make it online. I found a way, that place public ip address on the fms.ini file. I did it, but it does not work for me. How to fix this?

  • Beginners guide to integrating Flash Media Server 2?

    I'm a newbit to Flasha dn flash media server and need some
    help with integrating the two products. We've just purchased Flash
    Media Server 2 to stream user created videos to a website. Idealy
    we would like to use the FlvPlayBack component placed on the stage
    to display the FLV file from the media server, but cannont get the
    component to access the FLV file.
    Media Server Configuration:
    On the Media Server we created an application (testapp) with
    an default instance (_definst_). The directory path for the
    Appliation looks like this W:\MediaApps\testapp\streams\_definst_\
    The name of the server is MediaServer
    The application and instance are appearing in the Media
    Server Admin manager.
    I've placed an FLV file (Movie.flv) In the _devinst_
    directory.
    Flash FLA file
    Placed FLVPlayback component on the stage
    Set contentpath= rtmp:\\MediaServer\testapp\_definst_\Movie
    Set islive=true
    When I test publish the file, the video does not display?
    Does anyone have any guidance on what I need to do? There
    seems to be a lack of documentation on integrating the media
    server. I looked a sample app called "SimplePB" that works, but
    does not use the FLVPlayback component.
    Any help would be appreciated.
    Thank you,
    John Wallwork

    John,
    For an FLV to stream from FMS, it must be placed in the
    streams/_definst_ directory...
    applications/myApplication/streams/_definst_/myFlv.flv
    Then you would type in the rtmp connection information in the
    contentPath of the FLVPlayback component like this
    rtmp://myRTMPConnectionInfo/myApplication/myFlv
    without the flv extension.
    The documentation comes from the FMS components when you
    install them.
    Here it is...
    To set up your FCS for streaming FLV files:
    Create a folder in your FCS application folder, and give it a
    name such as my_application.
    Copy the main.asc file into the my_application folder.
    Create a folder named streams in the my_application folder.
    Create a folder named _definst_ inside the streams folder.
    Place your FLV files in the _definst_ folder.
    To access your FLV files on the Flash Communication Server,
    use a URL such as rtmp://my_servername/my_application/stream.flv.
    For more information on administering the Flash Communication
    Server, including how to set up a live stream, see the FCS
    documentation at
    www.macromedia.com/support/documentation/en/flashcom/. When playing
    a live stream with FCS, you need to set the FLVPlayback property
    isLive to true. For more information, see FLVPlayback.isLive.
    Regards,
    Bill

  • Flash Media Server 2 - Trace

    I have ...
    * Flash MX Professional 2004 7.2
    * Flash Media Server 2
    * Flash Remoting Components
    The problem I am having is I cannot get trace messages on
    server side scripts to display anywhere. I have looked at View
    Applications > {APP} > Live Log, but nothing is there. I have
    #include "NetDebug.as" in my code, but while giving no errors, it
    appears not to do anything. I really have no idea what is going on,
    as I have previously managed to get trace messages displayed
    successfully.
    Please help and my thanks!

    About the security warning... you get that with all .swf's
    run locally. To get rid of it, follow the link to add the location
    in the security manager. The link will take you to a page on the
    adobe site. Just add the path to the .swf, and you won't get that
    warning anymore.
    About connecting from a local .swf... it will work just fine.
    It's the flash client that makes the connection, so it doesn't
    matter where it's served or run from.
    In your main.asc, the code looks good but you don't need to
    load the component libraries unless you're using components
    (Communication components, not UI components). Loading them doesn't
    harm the operation of the application, it just uses memory where
    you not might need to.
    In your client side AS, try changing the rtmp string to match
    the following:
    myNetConnection.connect("rtmp://129.186.168.116/LawnChairLarry");
    Note the addition of a second slash after the rtmp, and the
    absence of the _definst_ instance name. If you want to use the
    default instance, you don't need to identify it.
    Next, you'll want to make sure the path to your video file
    looks like this:
    FMS Install
    Dir/applications/LawnChairLarry/streams/_definst_/LawnChairLarry.flv

  • Audio not streaming correctly from Flash Media Server

    Our company has a Flex application (3.0.2) that is having a problem with audio dropping out in Windows 7.  The problem appears worse with a wireless connection, but it can’t be consistently reproduced there, either.  The only thing known for sure is that the problem has not been seen on any other version of Windows.
    The application thinks the audio is playing, because it is calling the appropriate event listeners triggered when the audio completes and when any audio cue points are hit.  The majority of our audio is streaming via Flash Media Server (3,0,2,201), but the problem was also seen using embedded sound effects.  In one instance, several clicks of a button triggered an error saying the sound effect could not be loaded, and then about a minute later, all the sound effects played at once and the user could then continue with the application.
    The problem has been repeated in IE 8, Firefox 3 and Chrome.

    Thanks for your details. But i need more info.
    Server:
    FMS      3.0.2 ?
    FMS installed in which platform Linux/windows? more details about it.
    Client:
    IE          7
    Flash Player version     ?
    WIndows 7
    Wireless connection - Was the client placed in poor bandwidth.
    Can you get the NetStream status info when u play the audio file.? We can check for the rebuffering happening at the client side.
    Can you run your audio file through flvCheck Tool to check if the media file is in good form. It is available at "\$Root|Flash Media Server\tools\flvcheck.exe"
    Now our intention should be to check the same media file with simpler application (since your production app is complicated) to ensure that the media streaming over 'client to server' is working fine.
    Regards,
    Janaki L

  • Recording sound without Flash Media Server?

    Hello,
    I am totally new to Flash Media Server I need to be able to record sound via a Flash app and save it to a server preferably without the use of a Flash Media Server type setup. There is no requirement for live streaming.
    Is it possible to record the sound and save in memory then pass the data/file as a query parameter to the server?
    I don't even know if I've posted this in the correct place... any help/guidance will be appreciated.
    Thanks.

    Hi,
    You can use any publisher to publish like FMLE and publish the streams to the application in applications folder suppose application name is sampleApp then create a folder in applications folder of FMS root directory and then keep the below mains.asc file which does the recording of published streams to the sampleApp application.
    //main.asc
    application.onConnect=function(clientObj)
    return true;
    application.onPublish = function(clientObj,streamObj){
      trace("in application publish");
      streamObj.record("record");
    application.onUnpublish = function(clientObj,streamObj){
    trace("on unpublish");
    streamObj.record(false);
    I think this should solve your problem.
    Regards,
    Amit

  • How can I put video stream on flash media server on to website running on IIS7?

    We are encoding live video feed using Flash Live Media Encoder and publishing it using Flash Media Server. Is there any documentation on how I can put this publishing point on a website running on IIS7?

    Sorry - but not very clear what you are trying to achieve here - can you please elaborate what you want to do?

  • Do I need Flash Media Server?

    Hi all,
    Sorry for this question, but I'm a bit confused. Is there a
    way to broadcast live flash video using just flash, or do I NEED
    Flash Media server. I don't really have the budget for it, and
    don't really know another option if Flash doesn't work.
    Thanks

    You need a streaming server to do it. FMS is (IMO) the best
    choice, but there are two others I know of
    Red5 (
    http://osflash.org/red5) . Red5
    is an open source, free (as in beer), java based flash media
    server. It's still in beta, but I hear it's shaping up to be a
    pretty solid server.
    Wowza Media Server (
    http://www.wowzamedia.com)
    also has a java based flash server in beta, and the beta program is
    open to the public. The projected prices (on their site) put the
    price at about half that of FMS.
    Just curious, how many people do you need to serve at once?
    If it's 10 or less, you can use the free FMS developer
    license.

Maybe you are looking for

  • Report is taking mofe time

    Hello Friends, I have created Multicube which is based on another 2 basic cubes. I have created aggreagtes on basic cube as well and it is supporting to some reports. Now the problem is - I have created one query which is based on Multicube and have

  • Issue with IP variable binding in WAD

    Hi experts, I'm having issues while trying to bind variable1 to variable2 in WAD. Here's the scenario: I have configured through T-code rsbbs the QUERY A, which is passing two "generic" characteristic values to the receptor (QUERY B). These two chara

  • Change the default language in AM

    Hello, We are using Lookups in our application which stores the locale specific information. We have a drop down in the UI which will give the language names like 'American English', 'Canadian French' etc. When chosen 'Canadian French' we need to cha

  • Data warehouse ETL - dropping all FK but what about extended properties? Do they need to be re-added

    So Im setting up a SSIS package to refill the DB, drop/re-add the keys etc and I notice that there are extended properties added in the definition of the keys added to the fact table.  Do these needed to be added back EXACTLY as they are defined (whe

  • Electronic PO and Invoices

    Our SAP : R/3 system is on 4.6C Version & WAS-6.2, EBP 4.0 Version & WAS-6.2 and XI-2.0 Version & WAS-6.2. Is is possible to generate IDOC from R/3 system for PO and send it to XI-2.0 and convert it into XML PO and post it to vendor's site? Is is pos