Opus with clearlead fails to decode (amazon / widevine)
Categories
(Core :: Audio/Video: Playback, defect, P3)
Tracking
()
People
(Reporter: nikbik, Unassigned)
Details
Steps to reproduce:
Opus audio encrypted with Widevine using clearlead fails to decode.
Testbed:
https://maestro-test-player.s3.us-west-1.amazonaws.com/HARLEY-9735/index.html
userAgent:
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:98.0) Gecko/20100101 Firefox/98.0"
Notes:
Not reproducible with Flac or AAC, only Opus
Actual results:
Decode error after appending the first data fragment:
NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - virtual RefPtr<MediaDataDecoder::InitPromise> mozilla::OpusDataDecoder::Init(): Error decoding header!
Expected results:
In Chrome, Opera, and Edge the testbed appends and decodes without errors. The testbed should be able to play 10s of brownian noise.
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•3 years ago
|
||
Bryce, any thoughts here? I can reproduce the error in the test case.
Had a quick look. I can repro. This is failing, as may be expected based on the error, because the opus header our decoder is getting is junk. Specifically Gecko is not seeing OpusHead
here, which causes us to bail.
So the opus specific metadata we're passing about is no good. It may be that we're not parsing this correctly out of the mp4 via our Rust parser.
Reporter | ||
Comment 4•2 years ago
|
||
Any updates? This bug has a detrimental effect for our users. Without clearlead support, audio playback cannot begin until a roundtrip DRM license request is resolved.
Reporter | ||
Comment 5•1 year ago
|
||
It looks like this has been fixed in v118. Thank you! This will be a big improvement for our Firefox customers.
I didn't see the ticket updated though, what was the change?
Reporter | ||
Comment 6•1 year ago
|
||
Looks like it's not fixed in the latest ESR release - 115.3.1esr
ETA?
Description
•