encrypted audio hangs when media does not contain pssh boxes

Fixed Issue #11016936

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.”

      Changed Assigned To to “Venkat K.”

      Changed Assigned To from “Venkat K.” to “Nishant N.”

      Changed Assigned To to “Ramy W.”

      Changed Status to “Confirmed”

      Changed Status from “Confirmed” to “Fixed”

    • Hello,

      Thank you for providing this information about the issue. We have confirmed the problem, and we are working on a solution for a future build of Edge. We are presently tracking this issue as a duplicate of an existing internal bug report. We look forward to additional feedback you may have on how we can improve Microsoft Edge.

      Best Wishes,
      The MS Edge Team

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

    Sign in