Skip to content

StreamTrait::now() should be fallible #1385

Open

Description

@LastExceed

Stream handles can become invalid (ErrorKind::StreamInvalidated), and an invalidated stream should not have to return valid stream timestamps.

Activity

  1. roderickvd commented on Sep 21, 2026

    @roderickvd
    Member

    I don’t know about that. An invalid stream can still have a perfectly valid clock, and on most backends it returns a monotonic host clock.

    It could be that the host dies (particularly with audio servers like PipeWire or JACK) in which case we could just stop the clock from increasing, if that’s not what we’re doing already.

  2. added theissue type on Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions