nginx-mod-rtmp/doc/faq.md

27 lines
936 B
Markdown
Raw Permalink Normal View History

2016-02-26 22:42:10 +01:00
# FAQ
2021-09-15 10:00:08 +02:00
#### RTMP stream is not played normally in IE, stream stops after several seconds.
2016-02-26 22:42:10 +01:00
Add this directive to fix the problem
```sh
wait_video on;
```
2021-09-15 10:00:08 +02:00
#### I use `pull` directive to get stream from remote location. That works for RTMP clients but does not work for HLS.
2016-02-26 22:42:10 +01:00
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.
2021-09-15 10:00:08 +02:00
#### Seek does not work with flv files recorded by the module.
2016-02-26 22:42:10 +01:00
To make the files seekable add flv metadata with external software like yamdi, flvmeta or ffmpeg.
```sh
exec_record_done yamdi -i $path -o /var/videos/$basename;
```
2021-09-15 10:00:08 +02:00
#### Published stream is missing from stats page after some time and clients fail to connect
2016-02-26 22:42:10 +01:00
Check if you use multiple workers in nginx (`worker_processes`). In such case you have to enable:
```sh
rtmp_auto_push on;
```