Use free UMS to set up flash streaming services
With the popularity of the Adobe Flash Player (according to Adobe's official data, Flash Player installed up to 99%), more and more network video began to use Flash Player as the playback front end, so More and more businesses are starting to retire from other types of streaming media servers using a streaming media server compatible with Flash players.
Ultrant Media Server (UMS) is a free-to-use, high-performance streaming media server software system that supports the Adobeflash rtmp protocol. Here's how to use the free version of Ultrant Media Server 1.8.8 to set up a flash live, on-demand service system.
First, install ultrant Media Server 1.8.8
See the program Installation Guide.
Second, use the UMS on Demand/live function
UMS transmits or receives multiple bit rates of live/on-demand media streaming, data, and remote invocation information to Flashplayer by using the RTMP protocol. The UMS server supports streaming media on demand/live and other features based on the Adobe Flash/air technology platform.
2.1. Configuring the UMS service with Umsmonitor
Umsmonitor is a tool software specifically designed to manage the Ultrant Media server server software, which enables you to easily start, stop, restart, ultrant Media Server services, and to set various operating parameters. You can pop the system menu by right-clicking on the ant icon in the lower right corner of the Windows tray, see:
After the pop-up menu, select the "Open ultrant Media Server Monitor" option with the left mouse button to eject the Umsmonitor master interface, such as:
On the Umsmonitor software master interface, you can find the three service control buttons on the right, namely "Start service", "Stop Service", "Restart Service", respectively, the function of three buttons is: Start the UMS service, stop the UMS service, restart the UMS service.
On the Umsmonitor software master interface, you can access the Ultrant Media Server Software Configuration interface by clicking the "Configure Service" button on the right side of the mouse. Configuration interface such as:
After the configuration is complete, you need to click "Apply" to confirm the changes, then click "OK" to make the changes take effect immediately, the software will prompt you to restart the Ultrant Media Server service for the changes to take effect, select "OK" is the configuration takes effect.
2.2. Test-on-demand function
To use the on-demand feature, you need to prepare a video file of FLV format yourself and copy it to any library path (the library path can be added via Umsmonitor) or add the path of the FLV format video file to the Media Library path.
Video files and Media Library paths when you are ready, make sure that the modified settings are in effect, and that the file name does not conflict. If you are using a Nginxweb server with the installation program, open the vod.html file in the HTML subfolder of the Nginx installation directory with Notepad, and if you use an existing Web server, set the ums\ in the Web server root directory Vod.html Open with Notepad and find the following code:
So.addvariable (' file ', ' 6rooms.flv ');
So.addvariable (' Start ', ' 0 ');
So.addvariable (' Streamer ', ' Rtmp://127.0.0.1:1935/vod ');
Change 127.0.0.1 to the IP address of your current server, or if you are using your own FLV format video file, change the "6rooms.flv" in the above code in the vod.html file to the name of the video file you prepared.
If you use the Nginxweb server that the installer comes with, you can access the on-demand page by accessing the http://{server IP address}/vod.html through your browser, and if you use your computer's original Web server, you can access it via the browser http://{ Server IP address}/ums/vod.html to access the on-demand page.
When the playback page appears normally, click the player to play.
2.3. Test the live broadcast function
You can use Adobe Flash Media live Encoder3.1, a free software provided by Adobe, to test the live functionality of the Ultrant Media Server software.
2.3.1 Installing Adobe Flash Media LiveEncoder3.1
The installation process and help are described in the Adobe official website.
2.3.2 Preparing camera equipment
You can use a USB webcam or a professional video capture card (which requires the Adobe Flash Media LiveEncoder3.1 program to be recognized) as a video source.
2.3.3 Publishing live streams with Adobe Flash Media live Encoder3.1
Open the Adobe Flash Media Live Encoder3.1 software to make sure that the video capture device and audio capture device are working properly, and that the normal working hardware device looks like the following:
Please correctly set the position of the picture of the red rectangle, where the URL address of the FMS URL should be "Rtmp://{ultrantmediaserver server IP Address}/live", the stream should be "livestream" at the location. After setting up, to first press the "Connect" button, if the "Connect" button text becomes "Disconnect", then the connection is successful, and then press the bottom of the red rectangular box labeled "Start" button to start a live broadcast. The normal working Adobe Flash Media LiveEncoder3.1 should look like the following:
2.3.4 Viewing live video
If you are using a Nginxweb server with the installation program, open the live.html file in the HTML subfolder of the Nginx installation directory with Notepad, and if you use an existing Web server, set the ums\ in the Web server root directory Open the live.html file with Notepad and find the following code:
So.addvariable (' file ', ' livestream ');
So.addvariable (' Streamer ', ' rtmp://127.0.0.1:1935/live ');
Change 127.0.0.1 to the IP address of your current server, or if you renamed the name of the published video stream, change the "livestream" in the above code in the live.html file to the name of your own named video stream.
If you use the Nginxweb server that the installer comes with, you can access the live page by using the browser to access the http://{server IP address}/live.html, and if you use your computer's original Web server, you can access it via the browser http://{ Server IP address}/ums/live.html to access the live page.
Third, the use of Live cluster networking function
The UMS supports scalable, infinitely connected live cluster networking, and with a simple visual configuration, you can make multiple servers with UMS Server software a unified Live network group, each of which can provide a consistent broadcast service to the outside.
3.1 Configuring the live cluster networking feature with the Umsmonitor management tool
Open the Umsmonitor service configuration interface and locate the CDN configuration Options page, such as:
If you select "Use streaming to send server features", UMS can be used as a live streaming server. When you select the Apply configuration, select OK and restart the service for the configuration to take effect, the UMS server software that you currently configure will automatically connect to the synchronization address and port of the upper UMS live Source server for live synchronization information. Note: You must enable the "Use Live Streaming server feature" of the superior UMS server, that is, enable the lower half of the above configuration page equivalent to the Superior UMS server option. Only if the synchronization port and synchronization password of the superior UMS server are consistent, the currently configured UMS server can connect to the synchronization port of the superior live Source server to synchronize the live information.
"Superior Live Source Server service address" in theory and "superior Live Source Server synchronization address" is consistent, are the address of the parent server (when the external video broadcast service IP with the UMS external live Synchronization service IP inconsistent with the case), "Superior Live Source Server service port" Is the superior UMS server in the Umsmonitor Configuration Tool Service Configuration page, on the "Basic Configuration" page of the "IP Address and Port" column set in the listening port, the superior UMS through this port to provide video data broadcast service. The currently configured UMS server also obtains live video live streaming data from the parent server's external video data broadcast service port and forwards it locally.
When the local "use live streaming source server feature" is enabled, the currently configured UMS server can serve as the live source server, providing the live information Synchronization service and the live video streaming service to the subordinate UMS server.
The UMS server can also provide the VOD and audio data on-demand and live stream while simultaneously synchronizing the broadcast information and the live data flow between the subordinate group network. Depicts the use of UMS for a live network:
Tags: ultrant media server, UMS, Flash, streaming media server, RTMP
Setting up a streaming media server [go]