[Webkit-unassigned] [Bug 210113] [EME][GStreamer] onencrypted should be dispatched iff readyState >= HAVE_METADATA

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 7 08:14:07 PDT 2020


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

--- Comment #1 from Charlie Turner <cturner at igalia.com> ---
Created attachment 395683

  --> https://bugs.webkit.org/attachment.cgi?id=395683&action=review

Event diagram showing race condition.

The append splits into two varied operations, one to append the audio, one the video. If onencrypted happens as (1), then the readyState can be closed before both updates have ended, breaking the test. If it happens as (2), the test passes. This is a classic race conditioning, most likely resulting from the onencrypted event being dispatched too soon.

-- 
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/20200407/5edaa37a/attachment.htm>


More information about the webkit-unassigned mailing list