After the actual configuration test:
The configuration of the Edge server is simple. You only need to modify the configuration files vhost. xml and application. xml.
The specific method of this configuration file is:
1. In the fms3 installation directory: CONF/_ defaultroot _/_ defaultvhost _/vhost. xml. open the file in notepad and make the following changes:
Locate the <mode> node under <proxy> and modify the mode attribute to remote, that is, remote
2. In the fms3 installation directory: CONF/_ defaultroot _/_ defaultvhost _/application. xml. open the file in notepad and make the following changes:
Find the <scope> </scope> node and modify it to <scope> inst </scope>.
Remember: After the FMS is restarted, The Edge server is configured. You can configure other performance parameters in detail.
How to use:
1. source server address: rtmp: // 192.168.1.200/videochat
2. Edge server address: rtmp: // 192.168.1.110/
If the Edge server is not used, NC. Connect ("rtmp: // 192.168.1.200/videochat ");
Connect to: NC. Connect ("rtmp: // 192.168.1.110 /? Rtmp: // 192.168.1.200/videochat ");
3. Implicit access:
If you do not want to pass NC. Connect ("rtmp: // 192.168.1.110 /? Rtmp: // 192.168.1.200/videochat,
You can set it in vhost. xml:
<Anonymous> true </anonymous>
<Routeentry> *: 1935; 192.168.1.200: 1935 </routeentry> Configure the source server to be directed:
NC. Connect ("rtmp: // 192.168.1.110/videochat ");
It points to the source server 192.168.1.200.
Use of multiple edge servers:
[Rtmp: // edge 1? Rtmp: // edge 2? Rtmp: // edge 3? Rtmp: // edge 4? Rtmp: // source]