Skip to content

Record duration is ignored when using direct streams #1070

@wcgenzer

Description

@wcgenzer

Description

Maybe this is expected behavior with using direct streams...? Set record duration for any length of time, and it seems to be completely ignored. Actual video length can be anywhere from 30 to 80 seconds when duration is set to only 5 seconds. Automation "waits" for the set duration, and continues after that time has elapsed, but the recording is still taking place, for up to another minute or so.

Reproduction Steps

Create a simple automation to record a video from a direct stream. Set the desired duration to anything, it is completely ignored, and the actual length ends up being some random length of time.

Expected behavior

I expect the duration to be relatively close, maybe within a few seconds, of the desired duration.

If applicable, add error logs.

No response

Device Firmware

1.3.3 Build 250228 Rel.56467n

Integration Version

7.0.0

Using stream component

No

Does camera work via official integrations?

Yes

Camera has all attributes filled out in developer tools

Yes

HASS Environment

Home Assistant OS 2025.9.4

Search for similar issues

Yes

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions