Add use_wallclock_as_timestamps option to generic#71245
Add use_wallclock_as_timestamps option to generic#71245balloob merged 12 commits intohome-assistant:devfrom
Conversation
|
Hey there @davet2001, mind taking a look at this pull request as it has been labeled with an integration ( |
|
@uvjustin This looks like a good addition. I have been wondering whether many of these options could be listed only in the options flow. The reason is that the first screen is already huge. Perhaps this and the frame rate could be set to a default value, then the user can change them via 'configuration' if they want/need to. |
Sounds good. I'll work on #71247 first. I think moving the frame rate setting to the options flow should probably just be a separate PR. |
|
Yes, agreed. |
2abb4d4 to
127bd68
Compare
|
@davet2001 Maybe we should do this one before #71247 so it will be easier to cherry pick for a patch release |
davet2001
left a comment
There was a problem hiding this comment.
Looks pretty good - a couple of remaining minor comments.
4f545cf to
bd3e214
Compare
davet2001
left a comment
There was a problem hiding this comment.
Looking good!
Just minor things remaining.
|
I see this got tagged for the milestone but isn't this a new feature to work around existing issues? |
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Yes, I thought that since it fixed an issue it could be released as a milestone. But I assume from your comment that since it's a new feature, that it has to wait until the next version? |
|
@hunterjm @allenporter |
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io> Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
|
This is a new feature and should never ended up in a patch release. Even if a new feature "fixes" an issue. |
|
Noted, sorry about that. |
Proposed change
This PR allows
genericto rewrite camera timestamps using theuse_wallclock_as_timestamps ffmpegoption. Use of this option helps correct various issues including sporadic crashes due to packet corruption and HLS segmenting issues with audio+video streams.Type of change
Additional information
Checklist
black --fast homeassistant tests)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest.requirements_all.txt.Updated by running
python3 -m script.gen_requirements_all..coveragerc.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests: