nginx.conf application live{ live on; push rtmp://127.0.0.1:1935/hls; } applicatin hls { live on; hls on; } The push command cannot be used. The hls directory cannot generate a slice file.