Flash Communication Server Video Server Settings

Source: Internet
Author: User
The following provides some simple settings and modifications after the Flash Communication Server is installed,
It facilitates server maintenance and use.
1. Set the file structure
The configuration files are stored in the C: Program filesm1_mediaflash Communication Server mxconf directory.

1. the built-in _ defaultroot _ directory under the conf directory, and the server. xml file
Server. xml contains settings of the entire server, such as setting the Administrator account and password, the number of adapters contained on the server, and the virtualhost of the adapter,
Which accounts are allowed to use these virtualhosts.
_ Defaultroot _ the directory name is the preset adapter name. If you set multiple adapters on the server, multiple directories will exist.
In developer version, you are not allowed to use multiple adapters.

2. There will be a built-in _ defaultvhost _ directory and an adaptor. xml file under the adapter directory (_ defaultroot _)
Adaptor. xml contains the settings of the current adapter. It mainly sets the IP address and port used by the host in the adapter for online connection. When your server
When there are multiple adapters, each adapter cannot use the same IP address and port number at the same time. Otherwise, a conflict will occur, causing a system exception.
_ Defaultvhost _ the directory name is the default virtualhost name. When you set multiple virtualhosts in this adapter, you need to have multiple
A directory with the same name as virtualhost exists.

3. The virtualhost directory (_ defaultvhost _) contains two files: application. xml and vhost. xml.
Vhost. xml sets the inclusion, which is the application directory to be used by virtualhost, and application. xml sets the settings to be applied to the application.

2. How to add a server administrator account?
the management account is written on the server. in XML, you can find In the drop-down window. The server can have several groups of .
the name is the user account. the name contains the encoded password data. You can set encrypt to false to enter the password directly,
NO encoding is required, but we do not recommend that you set the encoding password in the following two ways.
1. add or change the password under the "Admin users" project through the management interface provided by the FCS
2. use Server Management Action Script to write a flash file for management, and use the command addadmin (admin_name, password).
As for server management ASD, if you have an optical disk, if you do not have this information, you need to download it from the Macromedia Website.
3. how to specify the IP address used by the FCS and port
enable adaptor. XML, modify 192.168.0.2: 1935,443, 80
when using rtmp online server, you can set the Server IP address to 192.168.0.2, then contact the opportunity to find
1935port is available in sequence. If Port 1935 is blocked, port 443 will be searched next. Otherwise, port 80 will be taken.

4. How to specify the application location
After the system is installed, the application is pre-installed in C: Program filesm1_mediaflash Communication Server mxapplications,
That is to say, you need to put all the AP directories online here. This is usually inconvenient to manage. I will put the directories to be created by the AP in other well-maintained places.
Enable vhost. XML, find <cmddir> and enter your directory. The following are my settings.
<Export dir> D: www_rootfcs_ap </export dir>

5. How to set a virtual directory for audio and video data
If a pre-recorded MP3 or FLV video file is to be played, these streaming multimedia files must be placed on the FCS instead of on the Web server, which can be specified to be easier to maintain
Directory, and set the virtual directory name.
Enable vhost. xml and find <virtualdirectory>. set multiple stream virtual directories as needed. The following two directories are used for video and audio respectively.
<Streams> video; D: www_rootfcs_streamvideo </streams>
<Streams> audio; D: www_rootfcs_streamaudio </streams>
Put mysong.mp3 in D: www_rootfcs_streamaudio.ProgramUse mystream. Play ("MP3: Audio/mysong ")

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.