Open Bug 1790244 Opened 2 years ago Updated 13 days ago

NS_ERROR_DOM_MEDIA_FATAL_ERR when trying to play ClearKey EME DRM video on Apple Silicon

Categories

(Core :: Audio/Video: Playback, defect)

ARM64
macOS
defect

Tracking

()

Tracking Status
firefox-esr91 --- wontfix
firefox-esr102 --- affected
firefox104 --- wontfix
firefox105 --- wontfix
firefox106 --- wontfix

People

(Reporter: cpeterson, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

(Keywords: regression)

Attachments

(1 file)

Attached image screenshot.png

Steps to reproduce

  1. In Firefox on a Mac with Apple Silicon, load this ClearKey video player:

https://nightly-dot-shaka-player-demo.appspot.com/demo/#audiolang=en-US;textlang=en-US;uilang=en-US;asset=https://storage.googleapis.com/shaka-demo-assets/angel-one-clearkey/dash.mpd;panel=ALL_CONTENT;panelData=drm:CLEAR_KEY;build=debug_compiled

I don't have an Intel Mac, so I can't test whether this error affects all Macs or only Apple Silicon.

Expected result

The ClearKey video should play.

Actual result

The ClearKey video fails to play and the page shows an error message:

Shaka Error MEDIA.VIDEO_ERROR (3,,NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - mozilla::MediaResult mozilla::AppleVTDecoder::InitializeSession(): Couldn't create decompression session!)

I bisected this regression to 2020-12-01:

https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=d9b0105477475ee9d411fdd67d37b1774aedb3da&tochange=71ca5351d995d6a8a91a2a7c04191d13557da546

Unfortunately, I can't pinpoint the regressing changeset because no mozilla-central or autoland builds are archived for such old builds, but the regression range includes two suspicious changesets that might be the cause:

Keywords: crash

(In reply to Chris Peterson [:cpeterson] from comment #0)

I don't have an Intel Mac, so I can't test whether this error affects all Macs or only Apple Silicon.

Works fine on Intel Mac.

It also works fine on Intel Windows.

John, is this something you can look at?

Flags: needinfo?(jolin)
Blocks: media-triage
Severity: S2 → S4
Flags: needinfo?(jolin)
Flags: needinfo?(cchang)
No longer blocks: media-triage

I am on PTO. I'll take a look at this once I am back.

Blocks: clearkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: