Closed Bug 1754531 Opened 4 years ago Closed 10 months ago

Move platform encoders out of content process.

Categories

(Core :: WebRTC: Audio/Video, enhancement)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1965601

People

(Reporter: jhlin, Assigned: chunmin)

References

(Blocks 2 open bugs)

Details

Platform hardware-accelerated encoders often use low-level API that is not allowed in a sandboxed process and need to be run in a privileged one. Currently, the platform decoders run in RDD remotely via IPC but encoders still run in the content process and are disabled when it is locked down (see bug 1751964). To continue using hw encoders there needs to be a remote encoder IPC.

Assignee: nobody → jolin
See Also: → 1766657
Assignee: jolin → nobody
Severity: -- → S4
Blocks: VideoEncoder

Bug 1755316 is an example of how to move audio decoding in the utility process. Video encoding should follow the same pattern.

See Also: → 1755316

Bug 1785738 is another example.

See Also: → 1785738

I am taking this bug for now. This implementation should enhance the WebCodecs encoding performance.

Assignee: nobody → cchang
Duplicate of this bug: 1913897
Blocks: 1918654
Status: NEW → RESOLVED
Closed: 10 months ago
Duplicate of bug: 1965601
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.