[Webkit-unassigned] [Bug 165052] New: Delay in response to encryption events while paused causes MEDIA_DECODE_ERROR

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 23 14:12:30 PST 2016


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

            Bug ID: 165052
           Summary: Delay in response to encryption events while paused
                    causes MEDIA_DECODE_ERROR
    Classification: Unclassified
           Product: WebKit
           Version: Safari 10
          Hardware: Macintosh
                OS: macOS 10.12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media Elements
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: boushley at gmail.com

Reproduction Steps:
1. Start playback of a video that has FairPlay DRM.
2. Pause the video (doesn't matter if video has actually begun playback or not)
3. Switch tabs (or focus other applications), this causes a webkitneedkey event to be fired
4. Wait 10-15 seconds after this webkitneedkey event (keeping the video tab in focus)

Expected Results:
Nothing happens. The video element is able to sit idle without responses to encryption/needkey as long as it remains paused. This was the behavior on OSX 10.11.

Actual Results:
On macOS 10.12 a Media Error with Code 3 (MEDIA_ERR_DECODE) is fired.

A simplified version of this error can be seen here: https://jsfiddle.net/boushley/uprzdx1o/

In our real use case we are waiting for the user to actively click play before handling some session setup that is needed to have successful license requests. For this reason we end up with delays that are long enough to trigger this error behavior when the user re-focuses the browser, but doesn't click play.

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


More information about the webkit-unassigned mailing list