Skip to main content
Participant
August 5, 2010
Question

is it possible to have edge server pulling an RTMPE stream from another server??

  • August 5, 2010
  • 1 reply
  • 594 views

question basically is that, on server side it needs to pull an RTMPE stream coming out of an origin server. tried a demo setup but could not get it working. is this feature supported in 3.5??

any help appreciated.

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    August 6, 2010

    Actually i did not get your use case correctly but let me try to figure it out by asking few questions to you

    Are you talking about making server-side RTMPE netconnection to another origin server and then pulling stream which is gettting published there?

    OR

    Are you talking about pulling stream from another origin server where stream is getting published by publisher who is connected via RTMPE?

    mfcfmsAuthor
    Participant
    August 8, 2010

    thanks for the reply .

    infact getting ans to both your question will be really helpful.

    case here is i have an access to RTMPE stream, and would like to scale it to n more connections. one thing here could do is place the server along with other edge servers. BUT my question is if this server is outside the system, like one of the client connected to edge, is it possible to pull the RTMPE stream?

                                                 RTMPE

                                  client 1 --------------------> |------------------|

                                  client 2 --------------------> |                  |

                                  client n --------------------> |    FMS       |

                                                                    |                   |

      client n+1-------->|----------------|                    |                  |

      client n+2-------->|  new FMS |-----------------> |------------------|

                              |-----------------|

    Participating Frequently
    August 9, 2010

    If you want to pull or push the stream from one server to another - the connection between the servers matters and not which protocol does client uses.

    Say for example , client connects to Server1 using RTMPE and publishes a stream by name "foo" to "live" application

    Another client can connect via an edge server Server_E1 (which internally connects to Server1) and play foo which is getting published at Server1.

    Now there are other techniques which you can use to load balance and one of them in Multi-point publish. In this case, clientA would publish stream to an application on Server1 and application on Server1 would push the stream to another application on another server. So same stream which is getting published on Server1 would be available on Server2 - so that you can load balance your clients - some would hit Server1 and some would hit Server2.

    All clients including publisher client can connect to servers using any protocol including RTMPE. However the connection between Server1 and ServerB would be RTMP - considering both servers would be in your controlled network - it should not be much of issue - if its really security issue - then you will need to for RTMPS connection between servers.