Nginx Development (iii) setting up RTMP on-demand system

Source: Internet
Author: User
1:/Created multimedia/rtmp in/usr/local/nginx/html/directory

2: Copy file 1.flv to directory

3: Open usr/local/nginx/conf/nginx.conf, modify the following

rtmp {
#rtmp点播配置
server {
Listen 1935;
Chunk_size 4000;
Application VOD {
play/usr/local/nginx/html/multimedia/rtmp; #点播媒体文件存放目录
}
}

4: Restart Nginx. Nginx-s Reload

5: Play Link: rtmp://yourserverip:1935/ VOD /1.flv

Note: Here the VOD for application corresponding name, non-file path.

6: Complete

The above describes the Nginx development (three) to build rtmp on-demand system, including the aspects of the content, I hope that the PHP tutorial interested in a friend helpful.

  • 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.