代码拉取完成,页面将自动刷新
Add this directive to fix the problem
wait_video on;
pull
directive to get stream from remote location. That works for RTMP clients but does not work for HLS.Currently HLS clients do not trigger any events. You cannot pull or exec when HLS client connects to server. However you can use static directives exec_static
, pull ... static
to pull the stream always.
To make the files seekable add flv metadata with external software like yamdi, flvmeta or ffmpeg.
exec_record_done yamdi -i $path -o /var/videos/$basename;
Check if you use multiple workers in nginx (worker_processes
). In such case you have to enable:
rtmp_auto_push on;
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。