Skip to content

Output trimming for future BYOB #176

@chcunningham

Description

@chcunningham

BYOB is blocked on having read-only buffers, tracked in WICG/reducing-memory-copies#1. This issue adds a consideration for when that is eventually resolved.

The request from audio industry pros is for an ability to say "when you write your output to my buffer, please skip over X bytes and stop writing after Y bytes". The use case is for codecs that are known to produce throw some initial throw-away outputs, like opus and mp3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    extensionInterface changes that extend without breaking.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions