Skip to main content
Known Participant
January 17, 2013
Question

Edge/Origin FMS server deployment issue of numbers of users.

  • January 17, 2013
  • 1 reply
  • 1184 views

Hi,

     I have set up Edge and Orign sever for live audio-video transmission. Connection set up successfully between the servers but isuue was number of clients displayed in Origin server console.

Suppose:

FMS1 is origin server,

FMS2 is Edge server.

A1 is user connected to orign server(FMS1) and A2 is user connected to Edge server(FMS2).

A1 publish video stream to origin server and a2 receive stream from Edege server.

Now Edge server console  show that 1 user is connected to Edge server and Origin server show 3 users connected to Origin server. But in the session there are only total 2 users. My edge server settings in VHost.xml .

<Proxy>

       

        <Mode>remote</Mode>                 

            <RequestTimeout>2</RequestTimeout>

        <Anonymous>true</Anonymous>       

        <CacheDir enabled="false" useAppName="true">           

            <Path></Path>           

            <MaxSize>32</MaxSize>

        </CacheDir>       

        <LocalAddress></LocalAddress>                             

        <RouteTable protocol="rtmp">                         

            <RouteEntry>edgeIP:1935;originIp:1935</RouteEntry>

        </RouteTable>

        <EdgeAutoDiscovery>           

            <Enabled>false</Enabled>

            <AllowOverride>true</AllowOverride>           

            <WaitTime>1000</WaitTime>

        </EdgeAutoDiscovery>

        <SSL>

            <SSLVerifyCertificate>true</SSLVerifyCertificate>

            <SSLCACertificatePath></SSLCACertificatePath>

            <SSLCACertificateFile></SSLCACertificateFile>

            <SSLVerifyDepth>9</SSLVerifyDepth>

            <SSLCipherSuite>ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH</SSLCipherSuite>

        </SSL>

       

        <AggregateMessages enabled="true">           

            <!-- <MaxAggMsgSize>65536</MaxAggMsgSize> -->

        </AggregateMessages>

    </Proxy>

This topic has been closed for replies.

1 reply

January 18, 2013

Hi,

This is the expected behaviour. When an edge server connects to an origin server, it makes 2 connections : virtual connect and group connect. This is why you are seeing 3 connections at origin server.

Known Participant
January 18, 2013

Thanks Chandan

                    One more thing when user connected to edge server disconnected from edge server then origin server shows user count on console is 2.

It should be 1 because when user connected  to edge it show 3 now no user connected to edge then it will be 2 . Any help regarding this then please let me know.

January 21, 2013

When the user connected to edge server disconnects, then the virtual connect is closed but group connect remains active. That's why you are seeing 2 connections on the origin server.