1.修改nginx-rtmp-module模块中, hls/ngx_rtmp_hls_module.c 文件中的index为自己需要的, 如playlist

2.重新编译安装nginx

 

此时,生成的m3u8文件即为playlist.m3u8

相关文章: