Skip to content

Add a resource fetch algorithm return value #11308

Open
@chrisn

Description

@chrisn

What is the issue with the HTML Standard?

For context, see w3c/media-source#365.

The resource fetch algorithm is exported from HTML and called from Media Source Extensions. The algorithm includes steps such as

which means it's not returning to the right place when called from MSE's end of stream algorithm.

I suggest changing the resource fetch algorithm to return a flag which can be checked by the calling algorithm to decide whether to abort.

Note that MSE defines extensions to the resource fetch algorithm which also need addressing (issue w3c/media-source#324), but I'd like to treat that as separate for now, and make changes incrementally.

@whatwg/media

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions