Article Title: Construct a Liunx Streaming Media Server (1 ). Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Stream Media refers to continuous, time-based Media that uses Stream Transmission Technology in the Internet/Intranet, such as audio, video, or multimedia files. Linux is a pioneer in network applications and is also a good streaming media platform.
There are currently three mainstream streaming Media systems: RealMedia of RealNetworks, Windows Media of Microsoft, and QuickTime of Apple. RealNetworks released the source code of the Helix Universal Server software that can send digital media over the Web on Windows, Unix, and Linux platforms. Helix is advanced in technology and has a large number of users. It supports unicast, multicasting, and multi-platform (including Linux, Windows 2000/NT, AIX, Solaris, and Mac OS ).
The latest version of Helix Universal Server is 9.0. Compared with version 8.51, Helix Universal Server mainly supports Redundant servers and content CACHE. This allows users to connect to the server as quickly as possible, and ensures that the server can be automatically repaired whenever possible. Helix is compatible with all common media formats, even the WM format of its competitors. This article takes Helix Universal Server 9.0 as an example to introduce how to build a Streaming Media Server in Linux.
Software Download
The user. After the registration, RealNetworks will send a License Key to the registered user's email address, allowing Helix to be used on the server. The authorization code format is. Zip. Decompress it and save it (File Name: RNKey-Helix_Server-90-1479442709717329.lic) to use when installing the software. After the download is complete, you can select Helix Server to download.
System Requirements
Software: the kernel must be at least 2.4, KDE 2.0, Window System XFree86 4.03, desktop resolution must be at least 800x600, and Desktop color must be at least 16-bit enhanced.
Hardware: CPU Pentium Ⅱ MHz or above, memory 128 MB, hard disk space 600 MB, OSS/Linux compatible sound card, 16 MB memory.
Install software
First, log on to X-Window with the superuser permission, create a Helix directory, and copy the authorization code to the directory. the execution process is as follows:
Then, change the name, group attributes, and Group of the downloaded file to make it an executable file. The command is as follows:
# Mv rs901-linux-22libc6-ia32.bin Helix. bin
# Chmod + x Helix. bin
The following are the installation commands and detailed steps.
#./Helix. bin
Step 1: The system first asks the user to list the authorization code storage directory. The reference is written in/root/Helix/RNKey-Helix_Server-90-1479442709717329.lic.
Step 2, a long authorization agreement will appear, and press the Enter key at the end of the agreement to accept the agreement.
Step 3: When the system asks about the installation directory, enter root/Helix and press enter to continue.
Step 4: The system requires the user to enter the username and password of the system administrator (Adminstrator) of the Helix Universal Server (SEE ).
Enter the username and password of Helix Universal Server.
Step 5: Ask which port is used to connect to PNA (Progressive Networks Audio ). The PNA protocol is used to transmit content created by earlier RealSystem tools to be compatible with earlier versions. The default port 7070 is used here.
Step 6: Ask the user which port is used to connect to RTSP (Real-Time stream protocol ). RTSP is an application-level protocol that controls the transmission of real-time data. It provides an extensible framework that makes real-time data (such as audio and video) controlled and VOD possible. Data sources include on-site data and data stored in clips. This Protocol aims to control multiple data transmission connections, provide a channel for selection of transmission channels (such as UDP, multicast UDP and TCP), and provide a method for selecting the transmission mechanism based on RTSP. The default port 554 is used here (SEE ).
Set the RTSP port number
Step 7: The system asks which port is used to connect to the HTTP protocol. Suitable transmission protocols are required for stream transmission. Because TCP requires a lot of overhead, it is not suitable for transmitting real-time data. In the implementation scheme of stream transmission, HTTP/TCP is generally used to transmit control information, while RTP/UDP is used to transmit real-time sound data. For more information about the working Transmission Principle of streaming media, see. Generally, the HTTP listening port is set to 8080.
Principles of streaming media file transmission
Step 8: The system asks which port is used to connect to the MMS protocol. Helix Universal Server supports MMS since version 8.0. The MMS protocol is used to access the unicast content on the Windows Media publishing point. It is the default method for connecting to the Windows Media Unicast service. If the audience wants to type a URL in Windows Media Player to connect to the content, rather than accessing the content through a hyperlink, they must reference the stream using the MMS protocol. When you connect to a publishing point using the MMS protocol, use protocol flip to obtain the optimal connection. Protocol flip begins with a client attempting to connect through MMSU. MMSU is the MMS protocol combined with UDP data transmission. If the MMSU connection fails, the server tries to use MMST. MMST is a combination of MMS protocol and TCP data transmission. The MMS port is generally set to 1755.
Step 9: set the system administrator control port of the Helix Server. You can set this port by yourself, but be sure not to repeat the defined port. Set it to 17965.
Step 10: The system provides a summary list of all selected items. Please read carefully. After confirming the correctness, press the "F" key to accept the settings and start installation. For my configuration, see. If any problem occurs, Press Esc to return and reselect.
Summary set by the System
Step 2: automatically exit and return to the root directory after the system installation is complete.
Step 2: Start the server and perform the following operations to enter the installation directory.
$ Cd Helix
$ Cp RNKey-Helix_Server-90-1479442709717329.lic/Licence;
$ Cd ..
$ Bin rmserver/root/Helix rmserver. cfg
For more information about the Helix startup interface, see.
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