Add rudimentary WebRTC support via go2rtc #162
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I didn't explore too many options here, but I was able to get a restream via go2rtc/frigate by simply running the ServiceManager on the
/video
endpoint. Using this I am able to add a low latency camera feed to my Home Assistant dashboard.EDIT:
Usage in Home Assistant:
Using go2rtc
go2rtc.yaml
(https://github.com/AlexxIT/go2rtc?tab=readme-ov-file#go2rtc-home-assistant-add-on)Alt: Frigate config
Note: Frigate just runs go2rtc
config.yml
Lovelace Card (Home Assistant)
Add WebRTC integration from HACS (https://github.com/AlexxIT/WebRTC?tab=readme-ov-file#installation)
Use either
http://<go2rtc_ip>:1984
orhttp://<frigate_ip>:1984
when configuring the integration, reboot and add aCustom: WebRTC Camera
card to the dashboard:PPPP has a tendency to crash after a while - I'm working on a PR (which I've drafted into #160) that seems to be stable, but I'm still testing to make sure.