Skip to content

Error Recovery #49

Closed
Closed

Description

@sandersdan

After an error in processing (configure, decode, or otherwise), there are multiple potential ways we could allow recovery:

  • Automatically recover at the next keyframe.
  • Recover after the next configure().
  • Recover after the next reset().
  • The above, but discard (abort) all queued requests first.
  • Do not allow recovery at all.

The latter two are easier to reason about, but some apps would be simpler with a different choice. Perhaps it should be configurable.

(Example that is difficult to reason about: if a configure() fails or is aborted, what configuration would we use to decode the next keyframe? This may be a reason to require configure() after reset()--it is always unambiguous.)

Activity

  1. chcunningham commented on Feb 19, 2021

    @chcunningham
    Collaborator

    Do not allow recovery at all.

    This is what we landed on, as it is simplest both conceptually and from an interface POV.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions