7 Replies Latest reply: Aug 5, 2013 9:10 AM by nicadores RSS

    Cannot play RTMP stream

    aut0poietic Community Member

      I've searched the forum / Google a few times, tried all the simple solutions and I just can't find enough documentation to determine what the problem could be.

       

      I have a FMS delivering a flv file via rtmp. I've confrmed the url is valid using Dreamweaver (to generate a main.asc) and throwing together a player in Flash.  Here's the flash vars supplied to swfobject:

       

      var parameters = {

         src: "rtmp://anduin.oucpm.org/wagons2waivers/_definst_/segment1.flv" ,

         autoPlay: false ,

         width: 720 ,

         height: 486,

         controlBarMode: "none",

         urlIncludesFMSApplicationInstance: "true"

      } ;

       

      I've tried the source parameter (with "urlIncludesFMSApplicationInstance" both on and off):

       

      rtmp://anduin.oucpm.org/wagons2waivers/_definst_/segment1.flv

      rtmp://anduin.oucpm.org/wagons2waivers/_definst_/segment1

      rtmp://anduin.oucpm.org/wagons2waivers/segment1

      rtmp://anduin.oucpm.org/wagons2waivers/segment1.flv

       

      I've tried this from a domain that is confirmed in listed in the crossdomain.xml on the media server (the admin does have it set to block domains that are't ours).

       

      I'm out of ideas and Google is coming up flat. Any ideas? Only idea I have left is some server mis-configuration, or crossdomain.xml issue (though the swf is hosted in an approved domain).

       

      Seriously could use some help...

        • 1. Re: Cannot play RTMP stream
          Silviu Vergoti Adobe Employee

          It looks like a server configuration problem. Please provide more information on how you setup your streaming application.

          I assume wagons2waivers is the application name.

           

          DId you copy the "vod" application to "wagons2waivers" and reconfigured it to get the media from a specific directory?

           

          You need to use "urlIncludesFMSApplicationInstance=true" only if you put the asset in a sub-directory of the media folder. If you put it into the media folder, you should access it without the flv extension:

           

          rtmp://anduin.oucpm.org/wagons2waivers/segment1

           

          Also, if you need to debug problems, it's better to use "verbose=true" to enable more technical error messages.

          • 2. Re: Cannot play RTMP stream
            aut0poietic Community Member

            [ Duplicate Message Removed ]

            • 3. Re: Cannot play RTMP stream
              aut0poietic Community Member

              First, after turning on verbose, I get the following message for any attempt to connect:

               

              "Timed-out trying to establish a NetConnection, or timed out due to an idle NetConnection 10000"

               

              So we know that it's at least getting some form of handshake from FMS -- or so I guess because when I mis-enter the application name, I get a message stating the "FMS rejected the request."

               

              From what little I know of the configuration, it's set to automatically add applications when folders are created -- I create the folder, drop in a "streams" folder and a preset main.asc, and dump my files in "streams/_definst_/" for each application. Applications are auto-created by FMS. So far this has not caused any issues (there are about 20 applications there); only Strobe Media Player is having issues with the connection.

               

              You mention an "vod", and after a bit of searching I understand that's a folder on the server for a configuration-less video folder. We've not been using those, and I suspect that it is because we're not on FMS 3.5 -- but I'll confirm this once the admin is available this morning.

               

              I was trying both with and without "urlIncludesFMSApplicationInstance=true", simply because all the documentation I have and the wizards in Dreamweaver all agree that there must be a "host/application/instance" structure to the link -- omitting the "_definst_" in the path creates an error in Dreamweaver's wizards, and causes the other working media players to fail.

               

              I'll find out what version of FMS, and look into adding an allow all to the crossdomain.xml (so someone else can actually see the files and responses) we're using and report back.

              • 4. Re: Cannot play RTMP stream
                aut0poietic Community Member

                Confirmed we're using Flash Media Server version 2. I should be getting a copy of the logs here in just a bit.

                • 5. Re: Cannot play RTMP stream
                  aut0poietic Community Member

                  Here's a log file record of the connection attempt from strobe playback

                   

                  session  connect                2010-10-14          09:09:56               2456        192.168.50.213  6146       6350       -              -               -              -                -

                   

                  session  disconnect          2010-10-14          09:09:56               2456        192.168.50.213  6146       6383       -              -               -              -                -

                   

                  session  connect                2010-10-14          09:09:57               2456        192.168.50.213  6146       6350       -              -               -              -                -

                   

                  session  disconnect          2010-10-14          09:09:57               2456        192.168.50.213  6146       6383       -              -               -              -                -

                   

                  This is also reflected in the FMS console. It looks like strobe is connecting and immediately disconnecting. There are no errors in the logs nor in the console. Why it would do this, I have no idea.

                   

                  I'm about half tempted to load up the source and see if I can step through a debugger and see what happens -- I'm beginning to wonder if this is a configuration issue or a bug/feature of the player -- though obviously i have only the logs as a basis for saying this.

                   

                  Please let me know if the details clues you into any potential issues.

                  • 6. Re: Cannot play RTMP stream
                    aut0poietic Community Member

                    Gotta say, after pouring through the source and debugging a bit in Flash Builder, this is most likely a bug in the player, or a design decision -- every other player on the market plays these streams. It doesn't matter that the admin has this server configured oddly or that it is a very old FMS install.

                     

                    I've wasted 16 hours on this player, it's time to move on. Thanks for the help, I'll check back when the player is a bit more mature.

                    • 7. Re: Cannot play RTMP stream
                      nicadores Community Member

                      I have the same problem as you! I can see the stream on any of my sites. But only on my computer! If someone else tries to open stream appears: "Timed out trying to Establish a NetConnection, or timed out due to idle NetConnection year 10000"! FMS console can see all the connections they make on my computer. When someone tries to open stream FMS console on another computer do not indicate any connection! I tried at least 10 crossdomain.xml files, I put in all folders, nothing yet! Tutorials on Adobe Flash Media Server does not contain explicit inserting pictures crossdomain.xml files! I'm sorry I bought Flash Media Server and can not use this program! The program is quite complicated, and tutorials are shallow! Video tutorials are not close at all!