Linux SRS streaming Media Server Installation configuration tutorial

Source: Internet
Author: User

Streaming media servers, using Red5 and Crtmp,srs

Red5 installation is simple, performance is general, the cluster configuration without document, the user is large, do not use.
CRTMP installation is simple, good performance, cluster configuration is simple, but configure the cluster needs to specify from the server rtmp flow address, do on-demand or more appropriate, do not very suitable for live.
SRS installation is simple, good performance, cluster configuration simple, diverse, unfortunately no connection pool, so you have to make a request for the unified entrance.

1,srs Download

Http://ossrs.net/srs.release/releases/index.html
Select the official hair version

2, installation


# Unzip Srs-centos6-x86_64-1.0.32.zip
# CD srs-centos6-x86_64-1.0.32
# Bash INSTALL//Installation
#/etc/init.d/srs Start/Launch

3, Release


# ffmpeg-re-i "/root/test.flv"-vcodec copy-acodec copy-f flv Rtmp://192.168.1.3/live/avatar
FFmpeg installation method, there are in this site.

4, configure the cluster


Vhost __defaultvhost__ {//Add the following two lines from the server, and reboot the SRS OK.
mode remote;
Origin 192.168.1.3:1935; Primary server address
}

Just add a two-line configuration from the server.

5, official documentation

Https://github.com/ossrs/srs/wiki/v1_CN_Home

Related Article

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.