Skip to content

Encoders should emit a decoder config describing the encoded stream #108

Closed

Description

@chcunningham

We need Encoders to give all the info needed to decode the stream the produce.

For example, if you're VideoEncoder is producing h264 that is not in annex-b format, then we need a means to emit the the avcC details for someone to later be able to decode this stream.

The plan is for each Encoder to emit a DecoderConfig as part of its output callback. The DecoderConfig should be emitted with the first output frame or any time the config changes. Here's the updated IDL:

callback VideoFrameOutputCallback = undefined(VideoFrame output, VideoDecoderConfig config);

callback AudioFrameOutputCallback = undefined(AudioFrame output, AudioDecoderConfig config);

Activity

  1. added this to the Q4 2020 milestone on Dec 4, 2020
  2. self-assigned this
    on Jan 21, 2021
  3. chcunningham commented on Feb 18, 2021

    @chcunningham
    CollaboratorAuthor

    Fixed by #113

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions