- From: Tuur Martens via GitHub <sysbot+gh@w3.org>
- Date: Wed, 16 Apr 2025 13:35:00 +0000
- To: public-html-media@w3.org
JohnyTheCarrot has just created a new issue for https://github.com/w3c/media-source: == Clarification on returning to selection algorithm from end-of-stream == Hi everyone! I'm currently quite confused. Picture the following: 1. Someone calls [MediaSource::endOfStream](https://www.w3.org/TR/media-source-2/#endofstream-method) or the algorithm Append Error runs 2. Which calls the [end of stream algorithm](https://www.w3.org/TR/media-source-2/#dfn-end-of-stream) 3. Which has code paths that: > Run the "If the media data cannot be fetched at all, due to network errors, causing the user agent to give up trying to fetch the resource" steps of the [resource fetch algorithm](https://html.spec.whatwg.org/multipage/media.html#concept-media-load-resource)'s [media data processing steps list](https://html.spec.whatwg.org/multipage/media.html#media-data-processing-steps-list). 4. Which mandates returning to the resource selection algorithm. My confusion stems from the idea that the resource selection algorithm was never a part of this call stack, so I have no idea how I'm supposed to return to it. Please view or discuss this issue at https://github.com/w3c/media-source/issues/365 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 16 April 2025 13:35:01 UTC