Skip to main content
November 19, 2015
Question

Problem configuring edge chain in AMS

  • November 19, 2015
  • 0 replies
  • 649 views

Hello,

I'm trying to configure an edge-origin net, following ths tutorial:

Scaling and securing streaming media applications with Flash Media Server 3 | Adobe Developer Connection

The edge-origin works properly but if I try with a chain of edge the last edge can't retrieve the stream.

These are the configuration:

ORIGIN: 192.168.91.81

<Proxy>

     <Mode>local</Mode>

     <Anonymous>false</Anonymous>

     <RouteTable protocol="rmtp">

          <RouteEntry></RouteEntry>

     </RouteTable>

</Proxy>

EDGE 1: 192.168.91.83

<Proxy>

     <Mode>remote</Mode>

     <Anonymous>false</Anonymous>

     <RouteTable protocol="rmtp">

          <RouteEntry>*:*;192.168.91.81:1935</RouteEntry>

     </RouteTable>

</Proxy>

EDGE 2: 192.168.91.55

<Proxy>

     <Mode>remote</Mode>

     <Anonymous>false</Anonymous>

     <RouteTable protocol="rmtp">

          <RouteEntry>*:*;192.168.91.81:*</RouteEntry>

     </RouteTable>

</Proxy>

EDGE 3: 192.168.91.58

<Proxy>

     <Mode>remote</Mode>

     <Anonymous>false</Anonymous>

     <RouteTable protocol="rmtp">

          <RouteEntry>*:*;192.168.91.55:*</RouteEntry>

     </RouteTable>

</Proxy>

The test page is this (using jwplayer)

<script language="javascript">

     jwplayer.key= "mykey"; //key hidden

     var playerInstance = jwplayer("myElement1");     // Origin

     playerInstance.setup({

          file: "rtmp://192.168.91.81/vodtest/mp4:sample1_1500kbps.f4v",

          height: 320,

          width: 240

     });

     var playerInstance = jwplayer("myElement2");     // Edge 1

     playerInstance.setup({

          file: "rtmp://192.168.91.83/vodtest/mp4:sample1_1500kbps.f4v",

          height: 320,

          width: 240

     });

     var playerInstance = jwplayer("myElement3");     // Edge 2

     playerInstance.setup({

          file: "rtmp://192.168.91.55/vodtest/mp4:sample1_700kbps.f4v",

          height: 320,

          width: 240

     });

     var playerInstance = jwplayer("myElement4");     // Edge 3 from Edge 2

     playerInstance.setup({

          file: "rtmp://192.168.91.58/vodtest/mp4:sample1_700kbps.f4v",

          height: 320,

          width: 240

     });

According to the tutorial before, should be enough to redirect E3 to E2, but this does not happens. Everything works but the last.

Any suggestion about the configuration? I was trying to use explicits connection too but it seems not working neither (but there maybe for some misconfiguration).

This topic has been closed for replies.