[Webkit-unassigned] [Bug 173387] loadedmetadata event triggers before we can report the number of audio and video tracks

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 14 16:14:29 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=173387

--- Comment #3 from Antoine Quint <graouts at apple.com> ---
I don't think it makes sense that we report non-zero videoWidth/videoHeight values when videoTracks.length is 0. I would expect that we only dispatch "addtrack" and other track event in the event that the track list changes *after* the "loadedmetadata" event is fired and that when dispatching "loadedmetadata" we ought to have the initial list of tracks reflected.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170614/b8f3d0bd/attachment.html>


More information about the webkit-unassigned mailing list