-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No audio in HA HLS live view with Frigate 0.12 and go2rtc restream #418
Comments
That's a good point, I don't think the above is a bad solution either, having in the config is probably preferred though |
@felipecrs good point but just FYI you shouldn't be using the camera entity with the webrtc card (assuming you are using 3.0). You should just use the go2rtc:
streams:
your_camera: rtsp://... type: custom:webrtc-camera
url: your_camera this will work with go2rtc directly to get the stream instead of just using the rtsp url |
Yeah, I know, thanks. That's what I do for my WebRTC cards. I'm just mentioning here a potential consequence of the "fix". |
I just tried here and it seems that it works even when the camera has no audio. |
Ops, actually I forgot to remove the "Closes" from the PR. However this should be fixed anyway as part of #419. |
And by consequence, no audio when casting the stream to media players either.
That's probably because the RTSP URL has multiple audio codecs but AAC is not the chosen one when pulled by HA.
This fixes the issue for me, but maybe it's not the cleanest solution (maybe this is better).
frigate-hass-integration/custom_components/frigate/camera.py
Line 171 in 7876795
The text was updated successfully, but these errors were encountered: