WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
225612
Don't fire 'loadedmetadata' and 'canplay' events when re-attaching a video track to a MediaStream
https://bugs.webkit.org/show_bug.cgi?id=225612
Summary
Don't fire 'loadedmetadata' and 'canplay' events when re-attaching a video tr...
Eric Carlson
Reported
2021-05-10 14:12:45 PDT
As noted in
https://github.com/w3c/mediacapture-main/issues/453#issuecomment-837051373
, if a page: 1. Assigns a MediaStream with an audio track and no video track to a video element. 2. Adds a video track to the MediaStream assigned in step 1. 3. Removes the video track from the MediaStream assigned in step 1. 4. Adds the same video track again to the MediaStream assigned in step 1. WebKit fires "resize", "loadedmetadata" and "canplay" events on step 4. readyState should not drop below HAVE_METADATA when the video track is removed, so it should not fire "loadedmetadata" when it is re-added.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-05-17 14:13:18 PDT
<
rdar://problem/78121674
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug