-
Couldn't load subscription status.
- Fork 3.6k
Marcel edited this page Apr 5, 2017
·
7 revisions
Add this directive to fix the problem
`wait_video on;`
I use 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;`