-
Notifications
You must be signed in to change notification settings - Fork 582
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
Support HLS streaming #53
Comments
But webrtc doesn't support HLS. But I stream just fine to my Nest hub and other devices using this with ffmpeg to handle any codec corrections. |
Would you mind sharing your config? I want to stream directly from go2rtc to a Nest Hub via a script. Currently, with either Dahua or Unifi cameras, there is significant video delay and no audio, although both types of cameras have supported AAC audio enabled. My thought regarding HLS, it could be another transcoding flag and would allow for better compatibility with Chromecast devices of multiple generations. |
It depends on what codecs the camera has. If when streaming to the nest hub for example if there's no audio, then just concentrate on that part:
That just adds the opus codec to the set of available codecs. Opus should be usable on the nest hub. Once you have that, you can send this to your nest hub:
But HLS is already in Home Assistant as teh default. You don't need this to use HLS. |
I don't like this format. Not suitable for real-time streaming. Maybe someday, but not in priority. |
I believe that HLS is used as live attachments to IOS notification. With HA HLS, it take few seconds to load the stream, so we believe that go2rtc could improve HA in that field :) |
This is not HA or go2rtc problem. HLS format was build for streaming. Not for real-time streaming. LL-HLS has some improvement with delay. But it is very complicated and not so good as WebRTC at anyway. |
Thanks for all the comments. I was hoping to use go2rtc as a "universal" conversion that interfaces with everything... like the image on the main page. No worries if HLS isn't an option, was just wishful thinking. @calisro, I've tried configs identical to yours, with and without Opus, but no audio will play regardless. Opus doesn't seem to be a valid MP4 or HLS audio container. As much as I love Home Assistant, it's implementation of HLS (or streaming in general) isn't the greatest. I have buffering issues and delay, unlike what I've experienced with either this or the previous project. |
The image on the home page shows HLS as the source. There is no lie there :) |
Supported in v1.1.0 |
Hi. This issue is the closest I can find to my current problem.
go2rtc version: 1.6.2
I see above that this should be supported. I would appreciate any help on this matter, thank you! |
I don't understand where you get this error |
Thanks for the reply and thanks in advance for helping :) |
I think this message related to Hass and not related to go2rtc. This HLS not from go2rtc |
Please consider adding the capability of an HLS output for direct streaming to Google Nest Hub/Google Chromecast devices.
The text was updated successfully, but these errors were encountered: