Have a unified MediaDataEncoder API

RESOLVED FIXED in Firefox 65

Status

()

enhancement
P3
normal
Rank:
25
RESOLVED FIXED
2 years ago
7 months ago

People

(Reporter: jya, Assigned: jhlin)

Tracking

(Blocks 1 bug)

Trunk
mozilla65
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox65 fixed)

Details

Attachments

(8 attachments)

We do not have a unified encoders API like we do with decoders.

We want an asynchronous, promise based encoding API similar to the MediaDataDecoder API

This would be used with WebRTC (as well as MediaRecoder) to support hardware encoding (with software fallback)
Rank: 25
Priority: -- → P3
Assignee: nobody → jolin
Status: NEW → ASSIGNED
No need for own linkers anymore for CoreMedia and VideoToolbox are both available
on our minimal supported version (10.9).

Depends on D7557
To address compile error when AppleVTDeocder.cpp is moved to another unified source file or in non-unified builds.

Depends on D7558
Depends on D7559
Attachment #9013876 - Attachment description: Bug 1425277 - p2: remove dynamic apple framework linkers. r?jya → Bug 1425277 - p2: remove dynamic apple framework linkers. r?jya No need for own linkers anymore for CoreMedia and VideoToolbox are both available on our minimal supported version (10.9).
Attachment #9013877 - Attachment description: Bug 1425277 - p3: fix misplaced dependent header. r?jya → Bug 1425277 - p3: fix misplaced dependent header. r?jya To address compile error when AppleVTDeocder.cpp is moved to another unified source file or in non-unified builds.
Pushed by jolin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/725677ef4b8e
p1: introduce media encoder interfaces. r=jya
https://hg.mozilla.org/integration/autoland/rev/d1255f131fe4
p2: remove dynamic apple framework linkers. r=jya No need for own linkers anymore for CoreMedia and VideoToolbox are both available on our minimal supported version (10.9).
https://hg.mozilla.org/integration/autoland/rev/4dd46901846a
p3: fix misplaced dependent header. r=jya To address compile error when AppleVTDeocder.cpp is moved to another unified source file or in non-unified builds.
https://hg.mozilla.org/integration/autoland/rev/6dbd2767e7ab
p4: RAII for CVBuffer. r=jya
https://hg.mozilla.org/integration/autoland/rev/3bf7f358af16
p5: add Append() to MediaRawDataWriter. r=jya
https://hg.mozilla.org/integration/autoland/rev/b86195e2307a
p6: implement media encoder using Apple VideoToolbox API. r=jya
https://hg.mozilla.org/integration/autoland/rev/8759840bbdd3
p7: add apple encoder module and factory. r=jya
https://hg.mozilla.org/integration/autoland/rev/74bdaf9e17c0
p8: add gtest cases for media encoder. r=jya
Depends on: 1513227
You need to log in before you can comment on or make changes to this bug.