-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider relaxing timing of initial HAVE_METADATA transitioning #275
Comments
Unless the app explicitly sets `mediaSource.duration`, `HTMLMediaElement.duration` remains NaN until initial HAVE_METADATA is reached, even if the attached mediaSource has already buffered media well beyond the initialization segment(s) necessary to begin transition to HAVE_METADATA. In Chromium, that transition is begun asynchronously, letting thread hop through the pipeline thread complete while letting the app continue. Eventually, the media element transitions, but in the interim, its value for duration could still be NaN, even if mediaSource has a duration value. This change relaxes the changeType-play-* utility's reliance on strict matching of mediaElement.duration and mediaSource.duration, instead relying on the latter for use in trimming the buffered duration. I've filed MSE spec issue #275 to discuss this behavior: w3c/media-source#275 This change also reports more details in changeType web-test assertion failures, which also enabled finding the suspected root cause of the tests' flakiness. Bug: 1184745 Change-Id: I208cbfbbc60776366a16b6a3e79f52480df5be37
Unless the app explicitly sets `mediaSource.duration`, `HTMLMediaElement.duration` remains NaN until initial HAVE_METADATA is reached, even if the attached mediaSource has already buffered media well beyond the initialization segment(s) necessary to begin transition to HAVE_METADATA. In Chromium, that transition is begun asynchronously, letting thread hop through the pipeline thread complete while letting the app continue. Eventually, the media element transitions, but in the interim, its value for duration could still be NaN, even if mediaSource has a duration value. This change relaxes the changeType-play-* utility's reliance on strict matching of mediaElement.duration and mediaSource.duration, instead relying on the latter for use in trimming the buffered duration. I've filed MSE spec issue #275 to discuss this behavior: w3c/media-source#275 This change also reports more details in changeType web-test assertion failures, which also enabled finding the suspected root cause of the tests' flakiness. Bug: 1184745 Change-Id: I208cbfbbc60776366a16b6a3e79f52480df5be37 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2906776 Auto-Submit: Matthew Wolenetz <wolenetz@chromium.org> Reviewed-by: Ted Meyer <tmathmeyer@chromium.org> Commit-Queue: Ted Meyer <tmathmeyer@chromium.org> Cr-Commit-Position: refs/heads/master@{#886148}
Unless the app explicitly sets `mediaSource.duration`, `HTMLMediaElement.duration` remains NaN until initial HAVE_METADATA is reached, even if the attached mediaSource has already buffered media well beyond the initialization segment(s) necessary to begin transition to HAVE_METADATA. In Chromium, that transition is begun asynchronously, letting thread hop through the pipeline thread complete while letting the app continue. Eventually, the media element transitions, but in the interim, its value for duration could still be NaN, even if mediaSource has a duration value. This change relaxes the changeType-play-* utility's reliance on strict matching of mediaElement.duration and mediaSource.duration, instead relying on the latter for use in trimming the buffered duration. I've filed MSE spec issue #275 to discuss this behavior: w3c/media-source#275 This change also reports more details in changeType web-test assertion failures, which also enabled finding the suspected root cause of the tests' flakiness. Bug: 1184745 Change-Id: I208cbfbbc60776366a16b6a3e79f52480df5be37 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2906776 Auto-Submit: Matthew Wolenetz <wolenetz@chromium.org> Reviewed-by: Ted Meyer <tmathmeyer@chromium.org> Commit-Queue: Ted Meyer <tmathmeyer@chromium.org> Cr-Commit-Position: refs/heads/master@{#886148}
Unless the app explicitly sets `mediaSource.duration`, `HTMLMediaElement.duration` remains NaN until initial HAVE_METADATA is reached, even if the attached mediaSource has already buffered media well beyond the initialization segment(s) necessary to begin transition to HAVE_METADATA. In Chromium, that transition is begun asynchronously, letting thread hop through the pipeline thread complete while letting the app continue. Eventually, the media element transitions, but in the interim, its value for duration could still be NaN, even if mediaSource has a duration value. This change relaxes the changeType-play-* utility's reliance on strict matching of mediaElement.duration and mediaSource.duration, instead relying on the latter for use in trimming the buffered duration. I've filed MSE spec issue #275 to discuss this behavior: w3c/media-source#275 This change also reports more details in changeType web-test assertion failures, which also enabled finding the suspected root cause of the tests' flakiness. Bug: 1184745 Change-Id: I208cbfbbc60776366a16b6a3e79f52480df5be37 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2906776 Auto-Submit: Matthew Wolenetz <wolenetz@chromium.org> Reviewed-by: Ted Meyer <tmathmeyer@chromium.org> Commit-Queue: Ted Meyer <tmathmeyer@chromium.org> Cr-Commit-Position: refs/heads/master@{#886148}
Note that with MSE-in-Workers (#175), information like duration and track metadata may propagate to the |
…ilures, a=testonly Automatic update from web-platform-tests MSE: Fix rare flaky changeType-play-* failures Unless the app explicitly sets `mediaSource.duration`, `HTMLMediaElement.duration` remains NaN until initial HAVE_METADATA is reached, even if the attached mediaSource has already buffered media well beyond the initialization segment(s) necessary to begin transition to HAVE_METADATA. In Chromium, that transition is begun asynchronously, letting thread hop through the pipeline thread complete while letting the app continue. Eventually, the media element transitions, but in the interim, its value for duration could still be NaN, even if mediaSource has a duration value. This change relaxes the changeType-play-* utility's reliance on strict matching of mediaElement.duration and mediaSource.duration, instead relying on the latter for use in trimming the buffered duration. I've filed MSE spec issue #275 to discuss this behavior: w3c/media-source#275 This change also reports more details in changeType web-test assertion failures, which also enabled finding the suspected root cause of the tests' flakiness. Bug: 1184745 Change-Id: I208cbfbbc60776366a16b6a3e79f52480df5be37 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2906776 Auto-Submit: Matthew Wolenetz <wolenetz@chromium.org> Reviewed-by: Ted Meyer <tmathmeyer@chromium.org> Commit-Queue: Ted Meyer <tmathmeyer@chromium.org> Cr-Commit-Position: refs/heads/master@{#886148} -- wpt-commits: 04c1391243b470ae1e0a0b9a7a53280c9fa66e57 wpt-pr: 29052
…ilures, a=testonly Automatic update from web-platform-tests MSE: Fix rare flaky changeType-play-* failures Unless the app explicitly sets `mediaSource.duration`, `HTMLMediaElement.duration` remains NaN until initial HAVE_METADATA is reached, even if the attached mediaSource has already buffered media well beyond the initialization segment(s) necessary to begin transition to HAVE_METADATA. In Chromium, that transition is begun asynchronously, letting thread hop through the pipeline thread complete while letting the app continue. Eventually, the media element transitions, but in the interim, its value for duration could still be NaN, even if mediaSource has a duration value. This change relaxes the changeType-play-* utility's reliance on strict matching of mediaElement.duration and mediaSource.duration, instead relying on the latter for use in trimming the buffered duration. I've filed MSE spec issue #275 to discuss this behavior: w3c/media-source#275 This change also reports more details in changeType web-test assertion failures, which also enabled finding the suspected root cause of the tests' flakiness. Bug: 1184745 Change-Id: I208cbfbbc60776366a16b6a3e79f52480df5be37 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2906776 Auto-Submit: Matthew Wolenetz <wolenetz@chromium.org> Reviewed-by: Ted Meyer <tmathmeyer@chromium.org> Commit-Queue: Ted Meyer <tmathmeyer@chromium.org> Cr-Commit-Position: refs/heads/master@{#886148} -- wpt-commits: 04c1391243b470ae1e0a0b9a7a53280c9fa66e57 wpt-pr: 29052
…ilures, a=testonly Automatic update from web-platform-tests MSE: Fix rare flaky changeType-play-* failures Unless the app explicitly sets `mediaSource.duration`, `HTMLMediaElement.duration` remains NaN until initial HAVE_METADATA is reached, even if the attached mediaSource has already buffered media well beyond the initialization segment(s) necessary to begin transition to HAVE_METADATA. In Chromium, that transition is begun asynchronously, letting thread hop through the pipeline thread complete while letting the app continue. Eventually, the media element transitions, but in the interim, its value for duration could still be NaN, even if mediaSource has a duration value. This change relaxes the changeType-play-* utility's reliance on strict matching of mediaElement.duration and mediaSource.duration, instead relying on the latter for use in trimming the buffered duration. I've filed MSE spec issue #275 to discuss this behavior: w3c/media-source#275 This change also reports more details in changeType web-test assertion failures, which also enabled finding the suspected root cause of the tests' flakiness. Bug: 1184745 Change-Id: I208cbfbbc60776366a16b6a3e79f52480df5be37 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2906776 Auto-Submit: Matthew Wolenetz <wolenetz@chromium.org> Reviewed-by: Ted Meyer <tmathmeyer@chromium.org> Commit-Queue: Ted Meyer <tmathmeyer@chromium.org> Cr-Commit-Position: refs/heads/master@{#886148} -- wpt-commits: 04c1391243b470ae1e0a0b9a7a53280c9fa66e57 wpt-pr: 29052
Requesting this be discussed at Sept 14 Media WG meeting. |
This change relaxes the timing expectation for 'updateend' of an appended initialization segment meaning the media element must already have reached HAVE_METADATA. In Chrome, the transition to media element readyState hops threads and may occur after the SourceBuffer's 'updateend' has been dispatched. See the following MSE spec issue for discussion of this behavior: w3c/media-source#275 The test now awaits both 'updateend' and 'loadedmetadata' receipts before issuing a load() that is expected to close the MediaSource. This change also removes an older copy of the same test, updating the wpt version and related test expectations. BUG=1143720,641121 Change-Id: I87df990e3a032c6f7dadf25829093c35913c7855
This change relaxes the timing expectation for 'updateend' of an appended initialization segment meaning the media element must already have reached HAVE_METADATA. In Chrome, the transition to media element readyState hops threads and may occur after the SourceBuffer's 'updateend' has been dispatched. See the following MSE spec issue for discussion of this behavior: w3c/media-source#275 The test now awaits both 'updateend' and 'loadedmetadata' receipts before issuing a load() that is expected to close the MediaSource. This change also removes an older copy of the same test, updating the wpt version and related test expectations. BUG=1143720,641121 Change-Id: I87df990e3a032c6f7dadf25829093c35913c7855 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3450339 Auto-Submit: Matthew Wolenetz <wolenetz@chromium.org> Reviewed-by: Ted (Chromium) Meyer <tmathmeyer@chromium.org> Commit-Queue: Ted (Chromium) Meyer <tmathmeyer@chromium.org> Cr-Commit-Position: refs/heads/main@{#969124}
This change relaxes the timing expectation for 'updateend' of an appended initialization segment meaning the media element must already have reached HAVE_METADATA. In Chrome, the transition to media element readyState hops threads and may occur after the SourceBuffer's 'updateend' has been dispatched. See the following MSE spec issue for discussion of this behavior: w3c/media-source#275 The test now awaits both 'updateend' and 'loadedmetadata' receipts before issuing a load() that is expected to close the MediaSource. This change also removes an older copy of the same test, updating the wpt version and related test expectations. BUG=1143720,641121 Change-Id: I87df990e3a032c6f7dadf25829093c35913c7855 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3450339 Auto-Submit: Matthew Wolenetz <wolenetz@chromium.org> Reviewed-by: Ted (Chromium) Meyer <tmathmeyer@chromium.org> Commit-Queue: Ted (Chromium) Meyer <tmathmeyer@chromium.org> Cr-Commit-Position: refs/heads/main@{#969124}
This change relaxes the timing expectation for 'updateend' of an appended initialization segment meaning the media element must already have reached HAVE_METADATA. In Chrome, the transition to media element readyState hops threads and may occur after the SourceBuffer's 'updateend' has been dispatched. See the following MSE spec issue for discussion of this behavior: w3c/media-source#275 The test now awaits both 'updateend' and 'loadedmetadata' receipts before issuing a load() that is expected to close the MediaSource. This change also removes an older copy of the same test, updating the wpt version and related test expectations. BUG=1143720,641121 Change-Id: I87df990e3a032c6f7dadf25829093c35913c7855 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3450339 Auto-Submit: Matthew Wolenetz <wolenetz@chromium.org> Reviewed-by: Ted (Chromium) Meyer <tmathmeyer@chromium.org> Commit-Queue: Ted (Chromium) Meyer <tmathmeyer@chromium.org> Cr-Commit-Position: refs/heads/main@{#969124}
This change relaxes the timing expectation for 'updateend' of an appended initialization segment meaning the media element must already have reached HAVE_METADATA. In Chrome, the transition to media element readyState hops threads and may occur after the SourceBuffer's 'updateend' has been dispatched. See the following MSE spec issue for discussion of this behavior: w3c/media-source#275 The test now awaits both 'updateend' and 'loadedmetadata' receipts before issuing a load() that is expected to close the MediaSource. This change also removes an older copy of the same test, updating the wpt version and related test expectations. BUG=1143720,641121 Change-Id: I87df990e3a032c6f7dadf25829093c35913c7855 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3450339 Auto-Submit: Matthew Wolenetz <wolenetz@chromium.org> Reviewed-by: Ted (Chromium) Meyer <tmathmeyer@chromium.org> Commit-Queue: Ted (Chromium) Meyer <tmathmeyer@chromium.org> Cr-Commit-Position: refs/heads/main@{#969124}
…es, a=testonly Automatic update from web-platform-tests MSE: Fix flaky mediasource-detach failures This change relaxes the timing expectation for 'updateend' of an appended initialization segment meaning the media element must already have reached HAVE_METADATA. In Chrome, the transition to media element readyState hops threads and may occur after the SourceBuffer's 'updateend' has been dispatched. See the following MSE spec issue for discussion of this behavior: w3c/media-source#275 The test now awaits both 'updateend' and 'loadedmetadata' receipts before issuing a load() that is expected to close the MediaSource. This change also removes an older copy of the same test, updating the wpt version and related test expectations. BUG=1143720,641121 Change-Id: I87df990e3a032c6f7dadf25829093c35913c7855 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3450339 Auto-Submit: Matthew Wolenetz <wolenetz@chromium.org> Reviewed-by: Ted (Chromium) Meyer <tmathmeyer@chromium.org> Commit-Queue: Ted (Chromium) Meyer <tmathmeyer@chromium.org> Cr-Commit-Position: refs/heads/main@{#969124} -- wpt-commits: 6fa7cbfe3d493a6d6799da8d2af91ab71c489f84 wpt-pr: 32780
This change relaxes the timing expectation for 'updateend' of an appended initialization segment meaning the media element must already have reached HAVE_METADATA. In Chrome, the transition to media element readyState hops threads and may occur after the SourceBuffer's 'updateend' has been dispatched. See the following MSE spec issue for discussion of this behavior: w3c/media-source#275 The test now awaits both 'updateend' and 'loadedmetadata' receipts before issuing a load() that is expected to close the MediaSource. This change also removes an older copy of the same test, updating the wpt version and related test expectations. BUG=1143720,641121 Change-Id: I87df990e3a032c6f7dadf25829093c35913c7855 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3450339 Auto-Submit: Matthew Wolenetz <wolenetz@chromium.org> Reviewed-by: Ted (Chromium) Meyer <tmathmeyer@chromium.org> Commit-Queue: Ted (Chromium) Meyer <tmathmeyer@chromium.org> Cr-Commit-Position: refs/heads/main@{#969124}
…es, a=testonly Automatic update from web-platform-tests MSE: Fix flaky mediasource-detach failures This change relaxes the timing expectation for 'updateend' of an appended initialization segment meaning the media element must already have reached HAVE_METADATA. In Chrome, the transition to media element readyState hops threads and may occur after the SourceBuffer's 'updateend' has been dispatched. See the following MSE spec issue for discussion of this behavior: w3c/media-source#275 The test now awaits both 'updateend' and 'loadedmetadata' receipts before issuing a load() that is expected to close the MediaSource. This change also removes an older copy of the same test, updating the wpt version and related test expectations. BUG=1143720,641121 Change-Id: I87df990e3a032c6f7dadf25829093c35913c7855 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3450339 Auto-Submit: Matthew Wolenetz <wolenetz@chromium.org> Reviewed-by: Ted (Chromium) Meyer <tmathmeyer@chromium.org> Commit-Queue: Ted (Chromium) Meyer <tmathmeyer@chromium.org> Cr-Commit-Position: refs/heads/main@{#969124} -- wpt-commits: 6fa7cbfe3d493a6d6799da8d2af91ab71c489f84 wpt-pr: 32780
…es, a=testonly Automatic update from web-platform-tests MSE: Fix flaky mediasource-detach failures This change relaxes the timing expectation for 'updateend' of an appended initialization segment meaning the media element must already have reached HAVE_METADATA. In Chrome, the transition to media element readyState hops threads and may occur after the SourceBuffer's 'updateend' has been dispatched. See the following MSE spec issue for discussion of this behavior: w3c/media-source#275 The test now awaits both 'updateend' and 'loadedmetadata' receipts before issuing a load() that is expected to close the MediaSource. This change also removes an older copy of the same test, updating the wpt version and related test expectations. BUG=1143720,641121 Change-Id: I87df990e3a032c6f7dadf25829093c35913c7855 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3450339 Auto-Submit: Matthew Wolenetz <wolenetz@chromium.org> Reviewed-by: Ted (Chromium) Meyer <tmathmeyer@chromium.org> Commit-Queue: Ted (Chromium) Meyer <tmathmeyer@chromium.org> Cr-Commit-Position: refs/heads/main@{#969124} -- wpt-commits: 6fa7cbfe3d493a6d6799da8d2af91ab71c489f84 wpt-pr: 32780
…es, a=testonly Automatic update from web-platform-tests MSE: Fix flaky mediasource-detach failures This change relaxes the timing expectation for 'updateend' of an appended initialization segment meaning the media element must already have reached HAVE_METADATA. In Chrome, the transition to media element readyState hops threads and may occur after the SourceBuffer's 'updateend' has been dispatched. See the following MSE spec issue for discussion of this behavior: w3c/media-source#275 The test now awaits both 'updateend' and 'loadedmetadata' receipts before issuing a load() that is expected to close the MediaSource. This change also removes an older copy of the same test, updating the wpt version and related test expectations. BUG=1143720,641121 Change-Id: I87df990e3a032c6f7dadf25829093c35913c7855 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3450339 Auto-Submit: Matthew Wolenetz <wolenetz@chromium.org> Reviewed-by: Ted (Chromium) Meyer <tmathmeyer@chromium.org> Commit-Queue: Ted (Chromium) Meyer <tmathmeyer@chromium.org> Cr-Commit-Position: refs/heads/main@{#969124} -- wpt-commits: 6fa7cbfe3d493a6d6799da8d2af91ab71c489f84 wpt-pr: 32780
See also #215 |
This test was flaking because the assertion was blocked on sourcebuffer.onupdateend instead of onloadedmetadata, which race each other (see w3c/media-source#275) Bug: 1348591 Change-Id: I733345d296ecc0557584088b24d5a1e3ef6898ec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3936305 Reviewed-by: Matthew Wolenetz <wolenetz@chromium.org> Auto-Submit: Ted (Chromium) Meyer <tmathmeyer@chromium.org> Commit-Queue: Ted (Chromium) Meyer <tmathmeyer@chromium.org> Commit-Queue: Matthew Wolenetz <wolenetz@chromium.org> Cr-Commit-Position: refs/heads/main@{#1055571}
Unless the app explicitly sets `mediaSource.duration`, `HTMLMediaElement.duration` remains NaN until initial HAVE_METADATA is reached, even if the attached mediaSource has already buffered media well beyond the initialization segment(s) necessary to begin transition to HAVE_METADATA. In Chromium, that transition is begun asynchronously, letting thread hop through the pipeline thread complete while letting the app continue. Eventually, the media element transitions, but in the interim, its value for duration could still be NaN, even if mediaSource has a duration value. This change relaxes the changeType-play-* utility's reliance on strict matching of mediaElement.duration and mediaSource.duration, instead relying on the latter for use in trimming the buffered duration. I've filed MSE spec issue #275 to discuss this behavior: w3c/media-source#275 This change also reports more details in changeType web-test assertion failures, which also enabled finding the suspected root cause of the tests' flakiness. Bug: 1184745 Change-Id: I208cbfbbc60776366a16b6a3e79f52480df5be37 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2906776 Auto-Submit: Matthew Wolenetz <wolenetz@chromium.org> Reviewed-by: Ted Meyer <tmathmeyer@chromium.org> Commit-Queue: Ted Meyer <tmathmeyer@chromium.org> Cr-Commit-Position: refs/heads/master@{#886148} NOKEYCHECK=True GitOrigin-RevId: 7262398dd1ec4d42dfff3b8dab8135ba6a33acd7
This change relaxes the timing expectation for 'updateend' of an appended initialization segment meaning the media element must already have reached HAVE_METADATA. In Chrome, the transition to media element readyState hops threads and may occur after the SourceBuffer's 'updateend' has been dispatched. See the following MSE spec issue for discussion of this behavior: w3c/media-source#275 The test now awaits both 'updateend' and 'loadedmetadata' receipts before issuing a load() that is expected to close the MediaSource. This change also removes an older copy of the same test, updating the wpt version and related test expectations. BUG=1143720,641121 Change-Id: I87df990e3a032c6f7dadf25829093c35913c7855 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3450339 Auto-Submit: Matthew Wolenetz <wolenetz@chromium.org> Reviewed-by: Ted (Chromium) Meyer <tmathmeyer@chromium.org> Commit-Queue: Ted (Chromium) Meyer <tmathmeyer@chromium.org> Cr-Commit-Position: refs/heads/main@{#969124} NOKEYCHECK=True GitOrigin-RevId: e4c9123bf8673d7f18cf81434df6202ac091b576
This test was flaking because the assertion was blocked on sourcebuffer.onupdateend instead of onloadedmetadata, which race each other (see w3c/media-source#275) Bug: 1348591 Change-Id: I733345d296ecc0557584088b24d5a1e3ef6898ec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3936305 Reviewed-by: Matthew Wolenetz <wolenetz@chromium.org> Auto-Submit: Ted (Chromium) Meyer <tmathmeyer@chromium.org> Commit-Queue: Ted (Chromium) Meyer <tmathmeyer@chromium.org> Commit-Queue: Matthew Wolenetz <wolenetz@chromium.org> Cr-Commit-Position: refs/heads/main@{#1055571} NOKEYCHECK=True GitOrigin-RevId: a921f14e764bd13a70f6ea9dd471225e0928db41
Minutes from Sept 14 2021 discussion: https://www.w3.org/2021/09/14-mediawg-minutes.html#t06 |
Minutes from 8 Nov 2022 discussion: https://www.w3.org/2022/11/08-mediawg-minutes.html#t04. Next step was to create a PR to relax the timing for |
Some implementations, including Chromium, have a media pipeline on distinct thread(s)/process(es) versus the web apps' thread(s). Delaying the relevant
updateend
associated with theappendBuffer()
whose parsing reaches the "set theHTMLMediaElement.readyState
attribute toHAVE_METADATA
part of step 7 of https://www.w3.org/TR/media-source/#sourcebuffer-init-segment-received until that step is fully completed is not done in some implementations, so the application can buffer more media faster while the pipeline is still transitioning in parallel.This issue tracks standardizing some allowance for this behavior, as allowing improved application buffering agility is probably a good idea.
-editted: The delay in Chromium is slightly less than I had thought (decoder setup doesn't necessarily block initial transition to
HAVE_METADATA
, but the metadata notification from MSE to the media element still hops threads through the pipeline.)The text was updated successfully, but these errors were encountered: