mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 17:55:21 +03:00
Remove host network suggestion from docs
This commit is contained in:
parent
e0b3b27b8a
commit
cfa5407ea8
@ -17,27 +17,29 @@ Live view options can be selected while viewing the live stream. The options are
|
|||||||
|
|
||||||
### WebRTC extra configuration:
|
### WebRTC extra configuration:
|
||||||
|
|
||||||
webRTC works by creating a websocket connection on extra ports. One of the following is required for webRTC to work:
|
WebRTC works by creating a WebSocket connection on port `8555`. However, it requires additional configuration:
|
||||||
* Frigate is run with `network_mode: host` to support automatic UDP port pass through locally and remotely. See https://github.com/AlexxIT/go2rtc#module-webrtc for more details
|
|
||||||
* Frigate is run with `network_mode: bridge` and has:
|
* For external access, over internet, setup your router to forward port `8555` to port `8555` on the Frigate device.
|
||||||
* Router setup to forward port `8555` to port `8555` on the Frigate device.
|
* For internal/local access, you will need to let go2rtc know your own go2rtc config:
|
||||||
* For local webRTC, you will need to create your own go2rtc config:
|
1. Create your own go2rtc config, based on [Frigate's internal go2rtc config](https://github.com/blakeblackshear/frigate/blob/dev/docker/rootfs/usr/local/go2rtc/go2rtc.yaml).
|
||||||
|
2. Add your internal IP to the list of `candidates`. Here is an example, assuming that `192.168.1.10` is the local IP of the device running Frigate:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
log:
|
log:
|
||||||
format: text
|
format: text
|
||||||
|
|
||||||
webrtc:
|
webrtc:
|
||||||
|
listen: ":8555"
|
||||||
candidates:
|
candidates:
|
||||||
- <Frigate host ip address>:8555 # <--- enter Frigate host IP here
|
- 192.168.1.10:8555
|
||||||
- stun:8555
|
- stun:8555
|
||||||
```
|
```
|
||||||
|
|
||||||
and pass that config to Frigate via docker or `frigate-go2rtc.yaml` for addon users:
|
3. Place this config file at `/config/frigate-go2rtc.yaml`. Here is an example, if you run Frigate through docker-compose:
|
||||||
|
|
||||||
See https://github.com/AlexxIT/go2rtc#module-webrtc for more details
|
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
volumes:
|
volumes:
|
||||||
- /path/to/your/go2rtc.yaml:/config/frigate-go2rtc.yaml:ro
|
- /path/to/your/go2rtc.yaml:/config/frigate-go2rtc.yaml:ro
|
||||||
```
|
```
|
||||||
|
|
||||||
|
See https://github.com/AlexxIT/go2rtc#module-webrtc for more information about this.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user