Closed Bug 2075870 Opened 1 month ago Closed 1 month ago

Android advertises Opus/Vorbis/FLAC but it is somewhat broken

Categories

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

All
Android
defect

Tracking

()

RESOLVED FIXED
159 Branch
Tracking Status
firefox159 --- fixed

People

(Reporter: aosmond, Assigned: aosmond)

References

Details

Attachments

(1 external file)

Bug 2075734 adds new Opus/Vorbis/FLAC tests with EME, and while they work on desktop with Widevine, they appear broken on Android, despite the fact that we advertise support for them and try to create the Java decoders. They need extra CSD buffers to be provided in order to get the tests passing.

We cannot use our traditional Opus/Vorbis/FLAC decoders with
Widevine on Android because we only support decrypt and decode, not
decrypt on Android. As such we need to, and attempt to use today,
the decoders provided by the platform. This doesn't work though
because we are not supplying the necessary codec specific data
required to correctly configure the decoders. This patch adds that,
similar to our efforts in bug 2075696 for the MediaCodec NDK path.

Pushed by aosmond@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/37f02578955b https://hg.mozilla.org/integration/autoland/rev/547dcf495f64 Fix Opus/Vorbis/FLAC decoding with Widevine on Android. r=media-playback-reviewers,alwu
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch
Blocks: 2075095
QA Whiteboard: [qa-triage-done-c160/b159]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: