update readme
This commit is contained in:
@@ -825,18 +825,19 @@ You can preload any stream on go2rtc start. This is useful for cameras that take
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
preload:
|
preload:
|
||||||
- my_stream1
|
camera1: # default: video&audio = ANY
|
||||||
- my_stream2#video#audio#microphone
|
camera2: "video" # preload only video track
|
||||||
- my_stream3#video=h265#audio=opus
|
camera3: "video=h264#audio=opus" # initialize transcoding pipeline
|
||||||
|
|
||||||
streams:
|
streams:
|
||||||
my_stream1:
|
camera1:
|
||||||
- rtsp://129.168.3.1:554/stream1
|
- rtsp://192.168.1.100/stream
|
||||||
my_stream2:
|
camera2:
|
||||||
- rtsp://129.168.3.1:554/stream1
|
- rtsp://192.168.1.101/stream
|
||||||
my_stream3:
|
camera3:
|
||||||
- rtsp://129.168.3.1:554/stream1
|
- rtsp://192.168.1.102/h265stream
|
||||||
- ffmpeg:my_stream3#video=copy#audio=opus
|
- ffmpeg:camera3#video=h264#audio=opus#hardware
|
||||||
````
|
```
|
||||||
|
|
||||||
### Module: API
|
### Module: API
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user