Skip to main content
Participating Frequently
January 13, 2011
Question

Re-stream RTMP to 5 more FMS

  • January 13, 2011
  • 2 replies
  • 1501 views

How can i re-stream one rtmp from server1 to 5 or more FMS servers, and make sure they are always connected if they lose connection for some reason it should keep trying to connect back.

Please note i'm not a coder. I need simple example of how i can do this without hiring someone to do so.

I couldn't find straight forward documentation on this.

Please help.

    This topic has been closed for replies.

    2 replies

    Participating Frequently
    January 14, 2011

    I think going through Graeme's Tutorial would help you understand basics quite well and most importantly make you feel coding is not that difficult - please have a look at it for sure.

    Now coming to your question , i want to understand your use case - is it for VOD or for Live?

    If its VOD, you can look at edge-origin as Graeme suggested.

    Now if its live then i feel edge-origin won't be of much benefit (until unless its DVR)

    In that case i would suggest you might have to go coding way. You can either spread the traffic publisher way - meaning let your publishing be restreamed from one origin to many machines OR subscribing way i.e. publish to one server and then use ProxyStream API to stream the published stream to different servers.

    I will try to post multi-point publish code if possible here.

    Participating Frequently
    January 14, 2011

    Here's more of summary kind of answer:

    If you want to have look at my code and how multi-point publish feature works - you can refer to this link: http://forums.adobe.com/message/3081108?tstart=0

    Since you don't want to go coding way you can use ready to use application (they all are free apps) from Tools page of FMS (http://www.adobe.com/products/flashmediaserver/tool_downloads/ )

    For Live Scenario use : LIVESTREAMCAST APPLICATION

    For DVR Scenario use: DVRCAST APPLICATION

    For VOD : Use Edge-Origin or DVRCAST APPLICATION

    Hope this helps

    Graeme Bull
    Community Expert
    Community Expert
    January 13, 2011

    You have two options here, you can try to take advantage of the edge/origin configuration of FMS which will require some reading through in the docs and then a proper setup in the player side of things, or you can code that up on the server side. Being that you're not a coder, I would guess the second option isn't an option, but keeping in mind the first option still requires effort to understand how FMS works in the origin/edge configuration and how to connect up to an edge etc.

    The first option is quite reliable and should work seamlessly, it's recommended if all you are doing is streaming.

    The second option is required if you have anything more than just streaming video, as you'll need to have communication of data going back and forth between servers. Here is a very basic tutorial on that concept in case this is the direction you may want to go or those that find this thread may want to go: Tutorial #41: The basics of connecting one server to another for FMS

    There is a lot of information on Adobe's devnet site and the documentation that comes with FMS is top notch, well worth reading through.