Installation and configuration of the Darwin Streaming Server

Source: Internet
Author: User
Tags system log

Live555 and jrtplib are used on the server. For Windows, ditrectshow is recommended. For Linux, gstreamer is recommended. For decoding, FFmpeg is used.


Software Installation

This version of software can be downloaded free of charge from apple.com. of course, you have to register a user to make sure Apple understands your situation. registration is very simple, and at least till now there are few registered users, which allows me to register the name Annie. then, click the Download button on the page and enter your username and password in the pop-up verification box. Wait... (downloading from Apple is obviously not as fast as downloading from Ms ...)

The downloaded file is a self-extracting file. After you click it, the decompression process starts. You can just decompress the file and define a directory. it's better to use its default directory.

You can find a PDF file in the decompressed directory. It is strongly recommended that you read this file (this is a good habit of installing software). Of course, if you do not want to read this file, follow the steps below to perform installation. which is the installation file? Here we can't find our familiar setup.exe, but we can see install. BAT (hey, I think of the DOS game installer ).

Don't worry !!!! Don't click... why? If you read the instruction document, you should know that the server is used in windows and must be supported by perl5.0 or above! (What is Perl? So please download the installation version of Perl on the Internet first. Install the parser in the Perl language on your local machine ....

Click the install. bat... after a window flashed for a while, it stopped. Now you can enter your login username, user password... the window will remind you that the server has been installed successfully. it also tells you not to close the current window. Now the server and web management interface have been started... if you accidentally close the window, then .... see the following section.

Web Management

Main

If you accidentally close the window during installation, you will not start the server. You can find a "streamingadminserver. PL "file, run it, and an empty window will come out. At this time, Darwin server has started. I checked the Windows Services option and did not see the added content. it seems that if you want to use it as a service for Windows, you need other attachment software ..

Open your browser and enter "http: // server: 1220". After a while, the login page will pop up. Enter the user name and password you entered during installation. if this is the first time you run this server, it will automatically enter the wizard interface, step by step guide you to configure the server. including port and ing path. of course, you can press enter all the way, because you can redefine it in the later interface. however, be careful when there is a port conflict. darwin server has an HTTP data transmission function. The default port is 80!
Please select according to your requirements... oh, why everyone fell in love with port 80 !!!

Then you will enter the main interface of the Management page. Here, the current system resource usage and related server information are presented in a table...

Connecting users

This is a real-time monitoring interface. You can define the refresh frequency. if a user connects to your server, you can see the user's address, code stream, transmitted data volume, packet loss ratio, transmission time and connection file. the interface is refreshing. and can be sorted by different projects.

For more information, see...

Relay status

When I first saw this interface, I mistakenly regarded relay as delay, why? Delay status? Later I found that my English is not enough... well, here, relay means the same as the splitter in Helix. It means the redistribution. Here is one of the following. You will understand it after reading it.

The forwarding server is not set here, so we cannot see any record information here...

General settings

This interface integrates most Darwin server settings, including the ing directory, encrypted transmission, maximum number of connections, bandwidth usage, user authentication, and so on. the setting is still very simple and you will understand it after reading it.

Concerning the number of authorized connections, I would like to be very interested in real people... now, Darwin's default number of connections is 1000, and after modification, it can reach 9999. the number of connections is definitely not a problem. You need to consider your bandwidth .. haha, let's get a km optical fiber access...

Below is...

Ports settings

In this interface, there is only one setting, that is, whether to use port 80 for streaming media publishing. Only port 80 can be selected. I checked the configuration file, I always wanted to find out if I could define other ports, but I still couldn't find them due to limited time. the old saying goes, please pay attention to port conflicts during configuration ....

Below is...

Relay Settings

In this interface, you can set the forwarding settings of the Darwin server. The configuration here is much simpler than the complicated configuration of Helix, click Create forwarding rule to create a new forwarding setting. You can set the current server as the publishing or receiving point, and support user authentication transmission mode.

Below is...

Log Settings

The log option of the Darwin server is configured in this interface. You can define the log storage time and space limits of the server here. darwin server supports two types of log storage: Error Log and operation log...

If necessary, you can also disable the log function...

Below is...

Playlists

On this page, you can create a new playlist. you can select a file in the current media folder to form a playlist and define the playing sequence of the playlist, except for normal random and sequential playback, darwin server also allows you to define the playback sequence by yourself, which is defined by a weight in the playlist (weight ).

Below is...

Click Save settings to create a new playlist. note that the current playlist cannot be called by users. You must click the small button next to the playlist. the status of the list will change to playing. Now you can access this list...

Error Log

On this interface, we can see the system log records. Because there is no error record during installation and there is no fault in the VOD, here we see no log records ..

Below is...

Access History

On this page, we can see that the system operation record log will record the call of each media file. It seems that only the data provided is this, and it is a bit of intent. fortunately, this server program exposes the original code. If you need it, you can add anything you want ..

Below is...

After introducing the configurations of so many servers, what will happen when the server is finally published to the client?

Media Playback

Well, after we have configured the server, what we need to do is to open QuickTime... how to input it? Very simple. Enter "rtsp: // server/file. mov". Of course, you can also specify the port. The default RTSP transmission port is also our habit of port 554.

The following is the information of the called file:

The previously defined playlist is also available. Similarly, we can call it through "rtsp: // server/file. SDP ".

However, we also encountered some difficulties. This is also a problem that I have never figured out, that is, many mov files cannot be placed on the server for on-demand video, A typical example is the movie demo version made by some grand companies. this problem has been encountered before it was released to the real server, but it is just thought that it is a problem of system incompatibility. now, when we encounter this problem again, we will reconsider to understand that there is a technology of Copyright Control in it. I have not come to a conclusion on the specific implementation details. when the files are on demand, the server prompts the following error:

What should I do? Don't ask me, I don't know... but we can be sure that our own mov file can be stored on the server for Vod...

Another point of attention is the latency. What I want to talk about is that it is very good !!! You may have to wait for a while on-demand video. However, when you are on-demand SDP files, you can see that the video starts playing within 1-2 seconds. It is comparable to the rapid buffering of Corona.

Usage Summary

If I give this software an objective evaluation or score, I give it a score of 70. the reason is a bit of regret for it, maybe because I have too high expectations for it, especially after the wms9 and helix tests are completed recently, this improves your requirements for streaming media servers. here, Darwin server looks too thin... in addition, the support for Qt files has been introduced since Real Server 8.0, which makes Darwin's prospects more unfavorable.
However, we still need to see that Darwin has very wide restrictions on user authorization, and now DARwIn server is free and open source code, which gives developers a larger development space. so from the perspective of free software, this server software is already outstanding and crazy... in addition, the server not only supports mov files, but also supports MPEG-4 and MP3 files. (I have forgotten to mention this ..)
The last thing I want to talk about is the evaluation of QT. For a long time, QT has always been synonymous with professionalism. At least in online video media, I think so. Through Sorenson and other excellent encoders, QT is excellent in color and color level (quantization level. this is why Major movie companies choose mov format when selecting a movie demo. in this way, the film's excellent image quality can be better reflected.
In addition, we tested Darwin server, which is an apple Streaming Media Server version on x86. In its own hardware environment, they also launched stream server, because there is no apple at hand, we cannot know the actual effect of this version (I will try to test it on an apple G4 recently ).
Say goodbye to this Darwin server that makes me love and hate. Let's look forward to Apple's surprise in the next quarter!

From: http://hi.baidu.com/dmkj2008/blog/item/a02daaf46b9b38d6f2d385e4.html

 

 

 

 

 

 

How to Set up a Media Server
The four collection cameras transmit the collected data to the media server at the same time. The media server can send the four collection data at the same time.
I know that the Darwin server responds to a camera (data source. Does the server meet the requirements for simultaneous sending of four data sources? Expert advice

A -- | ---- view User
------ |
B -- | --------- view User B
----------- |
C -- | --------- view User C
------ |
D -- | Media Server ----- view User d
Acquisition camera

The cameras A, B, C, and D send the collected data to the Media Server. Users A, B, C, and D simultaneously request the server to view a, B, c, d, when the server sends four data sources at the same time, does the server meet this requirement ???

------ Solution --------------------------------------------------------
You can use VLC and Darwin servers. The VLC collects data and sends it to the Darwin server. The client can request the Darwin server.

\

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.