encrypted audio hangs when media does not contain pssh boxes

Issue #11016936 • Assigned to Steven K.

Details

Author
Jacob T.
Created
Feb 21, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

If you try to play audio content that has been encrypted but doesn’t have any pssh boxes in the content, the audio usually hangs. The audio is encrypted normally, contains a tenc box to get the key-id, and has applicable senc boxes. The audio is added to the <video> element using MSE. Using EME, the pssh box is passed to generateRequest and the session is created successfully. When the video.play() is called, the video hangs, despite the keys being available.

The test below creates a <video> element and loads up encrypted audio data. It initializes EME using app-provided init data. There are two init segments used in this test. The original contains a pssh box in the media segments, the other is exactly the same except that the pssh boxes are replaced with free boxes.

Running the test with the original init segment plays fine. Running the test with the altered init segment usually fails to play. This problem is sometimes intermittent. Make sure to use http when accessing this test.

http://storage.googleapis.com/shaka-demo-assets/_bugs/edge-eme-audio-hang-pssh/index.html

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

    You need to sign in to your Microsoft account to add a comment.

    Sign in