: This article describes how to build an rtmp VOD system for nginx development (3). For more information about PHP tutorials, see. 1:/create multimedia/rtmp in the/usr/local/nginx/html/Directory
2: copy the file 1. flv to the Directory
3: open usr/local/nginx/conf/nginx. conf and modify it as follows:
Rtmp {
# Rtmp on-demand configuration
Server {
Listen 1935;
Chunk_size 4000;
Application vod {
Play/usr/local/nginx/html/multimedia/rtmp; # directory for storing on-demand media files
}
}
}
4: restart nginx. Nginx-s reload
5: Playback link: rtmp: // yourserverIP: 1935/vod/1.flv
Note: the vod here is the name of the application, not the file path.
6: Complete
The preceding section describes how to build an rtmp on-demand video system for nginx development (III), including some content. I hope my friends who are interested in the PHP Tutorial can help me.