Skip to content

Byte stream formats #38

@sandersdan

Description

@sandersdan

As currently defined, WebCodecs supports packetized codecs, where we expect one decoded frame per encoded chunk. For some codecs (eg. H.264 in Annex B format), it makes sense to use a byte stream instead.

This changes the interface of an encoder or decoder, so it's not a trivial change. It doesn't seem to be compatible with our flush or configure model unless streams gain support for flush.

Metadata

Metadata

Assignees

No one assigned

    Labels

    extensionInterface changes that extend without breaking.probably notProbably not in scope, but maybe worth tracking/discussing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions