Skip to content

[[active encoder config]] may be incorrect when running the Output EncodedVideoChunk algorithm. #138

Open

Description

@chcunningham

As of #113, The Output EncodedVideoChunk algorithm specifies that parts of the output config are to be copied from the "active encoder config". But the spec doesn't guarantee that the "active encoder config" was actually used to encode the given output (as opposed to some earlier config).

One fix is to specify that videoEncoder.configure() must flush all pending outputs before applying the new configuration. This is a little heavy though - we don't really want to require UAs to flush in this way (even though chromium currently does). There are some scenarios where the pipeline may be fairly deep and the configuration change fairly small such that a flush is not required and inefficient. I think a flush may not actually be observable though (as the running the configure control message is not observable), so maybe it leaves implementers the option to pursue equivalent alternatives.

Another fix is just to write out in english (rather than in algorithm steps) how the emitted VideoDecoderConfig is to be populated.

Activity

  1. added
    editorial
    on May 12, 2021
  2. chcunningham commented on May 12, 2021

    @chcunningham
    CollaboratorAuthor

    Triage note: marking 'editorial', as the task is just to wordsmith this to perfectly reflect the agreed upon intent.

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

    editorial

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions