Closed Bug 1489102 Opened 6 years ago Closed 6 years ago

Add supports for encrypted flac in MSE/EME

Categories

(Core :: Audio/Video: Playback, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: jya, Assigned: jya)

References

(Blocks 1 open bug)

Details

Attachments

(5 files)

We've hardcoded the list of usable audio codec usable to aac, opus and vorbis...

This prevents the use of flac.
Assignee: nobody → jyavenard
temp fix, will do a full one once upstream change is merged
Depends on D5198
Attachment #9007041 - Attachment description: Bug 1489102 - P1. mp4parse-rust resync → Bug 1489102 - P1. mp4parse-rust resync to f6032a118aa498525145adf611cd7b3bec0e0216
Priority: -- → P3
Interestingly, with samples < 2s I get timeout with some of the mochitest, but not otherwise.

I'm suspecting a problem elsewhere, either in the test themselves or in our code... looks like a racy behaviour and could explain a few intermittents we have with the eme tests.
Comment on attachment 9007041 [details]
Bug 1489102 - P1. mp4parse-rust resync to f6032a118aa498525145adf611cd7b3bec0e0216

Bryce Seager van Dyk (:bryce) has approved the revision.
Attachment #9007041 - Flags: review+
Comment on attachment 9007061 [details]
Bug 1489102 - P2. Add mochitests. r?bryce

Bryce Seager van Dyk (:bryce) has approved the revision.
Attachment #9007061 - Flags: review+
Comment on attachment 9007065 [details]
Bug 1489102 - P3. Allow flac and opus in mp4 for EME. r?bryce

Bryce Seager van Dyk (:bryce) has approved the revision.
Attachment #9007065 - Flags: review+
Comment on attachment 9007162 [details]
Bug 1489102 - P4. Add flac in mp4 plain file test. r?bryce

Bryce Seager van Dyk (:bryce) has approved the revision.
Attachment #9007162 - Flags: review+
This leads to audio content having negative start time
Comment on attachment 9007311 [details]
Bug 1489102 - P5. Ensure the Opus decoder never returns an empty sample. r?bryce

Bryce Seager van Dyk (:bryce) has approved the revision.
Attachment #9007311 - Flags: review+
Pushed by jyavenard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/70224e316a2c
P1. mp4parse-rust resync to f6032a118aa498525145adf611cd7b3bec0e0216 r=bryce
https://hg.mozilla.org/integration/autoland/rev/256bc4a68c8b
P2. Add mochitests. r=bryce
https://hg.mozilla.org/integration/autoland/rev/97a4b939d30a
P3. Allow flac and opus in mp4 for EME. r=bryce
Pushed by jyavenard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e789da8f1255
P4. Add flac in mp4 plain file test. r=bryce
Pushed by jyavenard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7497ffc7b996
P5. Ensure the Opus decoder never returns an empty sample. r=bryce
Depends on: 1605833
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: