Skip to main content
June 23, 2011
Question

Connecting FLME with DVRCast

  • June 23, 2011
  • 1 reply
  • 5071 views

Hi, I am trying to set up DVR streaming using FLME. I'm following this tutorial:

http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/12398/enabling-dvr-streaming

I'm up to Step 2,

I put in the following information into the FLME:

FMS URL: rtmp://222.222.222.222/dvrcast_origin

Stream: mp4:sample.f4v

Then click 'Connect' , but I get an error "Failure to connect to primary server. Please verify that your server URL and application name are valid and that your internet connection is working and retry". My server is a 32-bit windows 2007 VPS , with FMS running.

I don't know if I set up the DVR Cast application correct. All I did was copy the dvrcast_origin into the installationdirectory/applications, then I started a new instance of dvrcast_origin with _definst_...

Also, I am running the trial version of FMS, and DVR needs FMIS. Is there a way I can just run FMIS?

Please

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    June 23, 2011

    I hope you are using latest FMS version (actually any version greater or equal to 3.5) and latest FMLE ( i dont remember which Version did DVR support go into FMLE - so get latest version).

    Havign said that it does not look like dvrcast issue looking at you error message - it looks like some connection problem.

    Can you verify that FMS server is up and running and also if it has necessady ports like 1935 and 80 open so that you can connect to FMS machine from any other machine.

    Just to confrim connection problem, can you try connecting using URI : "rtmp://<yourFMSMachineIP>/live" and see if you can connect.

    Also when you say Windows 2007 -do you mean Windows 2008 or Windows 7?

    By trial version i suppose you mean Developer version and thats enough for dvrcast to work - you dont need FMIS.

    June 23, 2011

    It works now thanks!!

    As you said, I just opened the UDP and TCP ports for 1935 and 80 and it worked.

    I was able to connect to /live and dvrcast_origin

    I have the latest version of FMS (4.0) and the latest version of FMLE (3.2). Windows 2008.

    However I am having trouble playing the stream on a webpage.

    On another server where my websites are hosted (different to FMS) I put this code:

    <!-- START OF THE PLAYER EMBEDDING TO COPY-PASTE -->
        <div id='container'>The player will be placed here</div>

    <script type="text/javascript">
      var flashvars = {
        file:'sample.flv',
        streamer:'rtmp://myipaddress/dvrcast_origin',
        'rtmp.dvr':'true',
      };

      swfobject.embedSWF('player.swf','container','480','270','9.0.115','false', flashvars,
        {allowfullscreen:'true',allowscriptaccess:'always'},
        {id:'jwplayer',name:'jwplayer'}
      );
    </script>
        <!-- END OF THE PLAYER EMBEDDING -->

    But nothing shows up...

    My websites are hosted on linux CENTOS. Did I need to install FMS on the localhost of my websites for it to work?

    Participating Frequently
    June 23, 2011

    Your webserver and FMS need not be on same machine, what is file name you are giving while publishing - i think its mp4:sample.f4v right? I think then in your script you are using file: 'sample.flv' - you should use 'mp4:sample.f4v'