[SRS Streaming Media] Rtmp/hls Live Server Simple-rtmp-server installation

Source: Internet
Author: User

A simple Rtmp/hls Live server licensed by the MIT protocol, its core value concept is simplicity and efficiency.

How to use:

TEP 1:build SRS

Tar XF simple-rtmp-server-*.*.tar.gz
CD Simple-rtmp-server-*.*/trunk
./configure--with-ssl--with-hls
Make

Step 2:start SRS

./objs/simple_rtmp_server-c conf/srs.conf

Step 3 (Optional): Start Nginx for HLS

sudo./objs/nginx/sbin/nginx

Step 4:publish Live Stream

FMS url:rtmp://127.0.0.1:1935/live
Stream:livestream
For example, use FFmpeg to publish:
Ffmpeg-re-i source.flv-vcodec copy-acodec copy \
-F flv-y Rtmp://127.0.0.1:1935/live/livestream

Step 5:play Live Stream

Rtmp Url:rtmp://127.0.0.1:1935/live/livestream
m3u8 url:http://127.0.0.1:80/live/livestream.m3u8

[SRS Streaming Media] Rtmp/hls Live Server Simple-rtmp-server installation

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.