ru doc, etc

This commit is contained in:
Maxim Devaev
2021-10-17 00:13:01 +03:00
parent 76329ba5a6
commit 56b21274d1
2 changed files with 30 additions and 18 deletions

View File

@@ -76,24 +76,6 @@ $ ./ustreamer \
You can always view the full list of options with ```ustreamer --help```.
---
# Integrations
## nginx
When uStreamer is behind an nginx proxy, nginx's buffering behavior introduces latency into the video stream. It's possible to disable nginx's buffering to eliminate the additional latency:
```text
location /stream {
# Disable buffering for uStreamer video stream
postpone_output 0;
proxy_buffering off;
proxy_ignore_headers X-Accel-Buffering;
proxy_pass http://ustreamer;
}
```
-----
# Raspberry Pi Camera Example
Example usage for the Raspberry Pi v1 camera:
@@ -110,6 +92,21 @@ $ ./ustreamer --host :: -m jpeg --device-timeout=5 --buffers=3 -r 2592x1944
$ modprobe bcm2835-v4l2 max_video_width=2592 max_video_height=1944
```
-----
# Integrations
## Nginx
When uStreamer is behind an Nginx proxy, it's buffering behavior introduces latency into the video stream. It's possible to disable Nginx's buffering to eliminate the additional latency:
```nginx
location /stream {
postpone_output 0;
proxy_buffering off;
proxy_ignore_headers X-Accel-Buffering;
proxy_pass http://ustreamer;
}
```
-----
# Tips & tricks for v4l2
v4l2 utilities provide the tools to manage USB webcam setting and information. Scripts can be use to make adjustments and run manually or with cron. Running in cron for example to change the exposure settings at certain times of day. The package is available in all Linux distributions and is usually called `v4l-utils`.