Skip to main content
November 10, 2009
Question

Setup for edge and origin server

  • November 10, 2009
  • 5 replies
  • 8605 views


Hey,

I am trying to setup edge and origin server on windows server and trying to run FMIS on it. I am going through many problems, my first problem is I could not understand given command for implicit connection

Use the following syntax in a client-side NetConnection.connect() call to make an implicit connection to an edge server:

rtmp://edge/app/appinstance.
Over here what does app means does it mean application (example vod) ?? What does app instance means(no clue I guess video file)

I am just curious how can I connect from flash cs4(my client) to edge server with the help of command inspector and give path for file or do i need to run
action script every time.

If yes, where can I find client-side and server side action script or I can direclty used it from Flash cs4 no need for script.

Please let me know as fast as possibe, Thanks in advance.





    This topic has been closed for replies.

    5 replies

    June 23, 2010

    My email is rushabh.maniar@riverbed.com, I would highly

    appreciate if you can help me to get in touch with sales guy. I am based in san franciso. Please let me know as fast as possible, as customer is waiting for response.

    Thanks

    June 17, 2010

    Hi SE_0208,

    I have customer who wants to deploy Adobe Flash Media Server on his site, but he is not sure how does transperent interception works in Flash Media Server. For example: This is current set up scenario, Client (1000 client) multiple stream---> edge server (user defined ip address) single stream---> origin server (www.espn.com). So customer does not want client to point edge server (new ip address), he wants user should direcly point to the origin server (www.espn.com---------as every user knows about it and customer does not want to change DNS). So is it possible with Adobe media server to do transperent proxy and directly pointing to origin server, while doing stream splitting at edge server.

    Thanks

    June 17, 2010

    Can I get your contact information, so I can give exact idea to customer.

    Thanks

    June 22, 2010

    Hi SE_0208,

    Can you give me your contact information or any specified person in Adobe who can give us more information about Flash Media Server. I have customer who wants to deploy Adobe and if everything works out it's a great oppurtunity for Adobe to make a deal. Please let me know your contact info as fast as possible.

    Thanks

    June 15, 2010

    Got it. Thanks a lot!!!

    April 14, 2010

    I wanted to connect setting up 100 stream splits, please let me know as fast as possible.

    Participating Frequently
    April 14, 2010

    I think default system requirements, for both your edge and origin should suffice for 100 clients. But still can you answer following questions:

    1. What are the bit rates for your streams?

    2. Are all 100 clients playing different streams?

    3. Is it pure live or vod or DVR or mix of all?

    4. Can you specify your system requirements of both your edge and origin - specially RAM, CPU and Network card.

    June 14, 2010

    Hi SE_0208,

                We have customer who wants to deploy Adobe Flah Media Server on their existing environment. The main idea behind setting up Media Server is to locally multicast stream to the thousand of users. For example: There is one link coming down from the internet (example www.espn.com) and there are thousands of user who wants to watch the live football link. So customers requirement is there would be only one link coming down from internet and once it points edge server it does multicasting (means link should be allocated locally instead of all user watching directly from espn.com they point to the edge server. Customer does not have control over the Origin server. So, can Adobe Edge Server can point to public IP address means any server residing on ESPN side. Please let me know as fast as possible.

    Thanks

    Asa_-_FMS
    Adobe Employee
    Adobe Employee
    November 11, 2009

    Well,

    There are two ways to do edge/origin

    1.  You include the entire edge/origin connection line in the URL i.e.

    rtmp://edgeServer/app/?rtmp://originServer/app/

    or

    2.  You build a routing table into the configuration for your edge

    rtmp://edgeServer/app

    and then the app server's routing table directs to the origin.

    What are you trying to accomplish here.  An invisible setup or one where you can specify the whole thingy?

    Asa

    November 12, 2009

    Hey Asa,


          Thanks a lot for replying, Let me give details of my whole set up and problem

    1) Set-up

           

      -  I am trying to install FMIS with edge and origin server. I have got three machine one windows xp( client), Windows server2003(Edge server) and another Windows 2003(Origin server). 

    -   I am running Flash CS4  on windows client and trying to run vidoe from my edge sever and which can redirect to Origin Server.

    -  I want to run implicit connection(invisible to my client)


    2)  Testing

      - So I am trying to get video which is not present in edge server but present in origin server. For example I have got file Legend.flv in  an Origin Server. So From component Inspector in Flash CS4 source path I am giving this source path rtmp://10.11.100.100/Vod/Legend, 10.11.100.100(ip of edge server) and expecting origin server to reply instead of Edge server and caching data in my Edge server. My client would have no idea data is obtained from Origin Server as it is implicit connection.


    -  I am not sure do i need to use ACTION SCRIPT instead of COMPONET INSPECTOR if yes which is the right ACTION SCRIPT I need to use.

    - My another problem is what does is difference between this 2 command

          a)   rtmp://fms.foo.com/app/inst used for directly contacting to the server(no concept of origin or edge)

       b)

    rtmp://edge/app/appinstance used for edge and orgin server.

    what is differnece between inst and appinstance.


    3)   Summary

    I have made all config in Vhost.xml file in Edge server, my edge and orgin server can talk with each other.

    I can get directly get file form origin server

    Only problem is if am asking for any video which is not in edge server and present in origin server, it does not work.

    In log files, I am getting error like Server.Reject from c:\\Document and setting something like that.

    Please do help me as fast as possibe, I highly appreciate your work and Thanks in advance

    Asa_-_FMS
    Adobe Employee
    Adobe Employee
    November 12, 2009

    FMS edge/origin won't work in quite the fashion you're thinking

    There is no

    1. Auto discovery - originally this feature was planned and removed, hence all your communication will go to the edge directly
    2. Redirecting - same deal as above

    What happens is that you ALWAYS must know the connection path of the whole chain, consequently there's two ways you can do this

    1.  Make the client aware of the whole path at first

    rtmp://edgeserver/?rtmp://originserver/appname

    This way the connection arrives at the edge, it looks at the second half and completes the circuit to the origin.

    2.  Configure the edge's routing table so that it knows where to send people.  If you've looked in VHost.xml then you've seen the routing table.  It works like direct thisHost;thisPort to thatHost;thatPort.  So typically you'd end up sending everything from an edge to an origin and doing so this way *:* to origin:1935.  In the actual config there's no to it's specified by a semicolon, so like this *:*;origin:1935.

    I'd do the second as if you connect to the edge like this  rtmp://edge/appName, then the redirect will take care of the rest.

    By the way there's no difference between appInstance and instance.   It's just two ways to refer to the same thing.

    Asa