Add low-latency option to the PDM

RESOLVED FIXED in Firefox 54

Status

()

Core
Audio/Video: Playback
P3
normal
RESOLVED FIXED
a year ago
a year ago

People

(Reporter: jya, Assigned: jya)

Tracking

unspecified
mozilla54
Points:
---

Firefox Tracking Flags

(firefox54 fixed)

Details

MozReview Requests

()

Submitter Diff Changes Open Issues Last Updated
Loading...
Error loading review requests:

Attachments

(4 attachments)

(Assignee)

Description

a year ago
We would like to add an option that would allow the PDMFactory to only select decoders known to have a low-latency.

This is required to be able to share the PDM architecture between playback and webrtc.

The workflow would be as follow:
- Call PDMFactory::CreateDecoder with a flag set requesting low latency.

The PDMFactory would then query the various PDM for those supporting low latency mode (e.g. less than 1 frame latency).

If none are found, it would default to the standard decoding mode and the client would have to deal with it there.
Priority: -- → P3
Comment hidden (mozreview-request)
Comment hidden (mozreview-request)
Comment hidden (mozreview-request)
Comment hidden (mozreview-request)

Comment 5

a year ago
mozreview-review
Comment on attachment 8839864 [details]
Bug 1322739: P1. Fix style and headers.

https://reviewboard.mozilla.org/r/114460/#review115896
Attachment #8839864 - Flags: review?(gsquelart) → review+

Comment 6

a year ago
mozreview-review
Comment on attachment 8839865 [details]
Bug 1322739: P2. Add Low Latency option to CreateDecoderParams.

https://reviewboard.mozilla.org/r/114462/#review115898
Attachment #8839865 - Flags: review?(gsquelart) → review+

Comment 7

a year ago
mozreview-review
Comment on attachment 8839866 [details]
Bug 1322739: P3. Add low-latency option to FFmpeg.

https://reviewboard.mozilla.org/r/114464/#review115900
Attachment #8839866 - Flags: review?(gsquelart) → review+

Comment 8

a year ago
mozreview-review
Comment on attachment 8839867 [details]
Bug 1322739: P4. Never use WMF decoders when low latency is required.

https://reviewboard.mozilla.org/r/114466/#review115902
Attachment #8839867 - Flags: review?(gsquelart) → review+

Comment 9

a year ago
Pushed by jyavenard@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/964813be5833
P1. Fix style and headers. r=gerald
https://hg.mozilla.org/integration/mozilla-inbound/rev/b0c1d3189bb2
P2. Add Low Latency option to CreateDecoderParams. r=gerald
https://hg.mozilla.org/integration/mozilla-inbound/rev/cdff3a6b5871
P3. Add low-latency option to FFmpeg. r=gerald
https://hg.mozilla.org/integration/mozilla-inbound/rev/323f69eeab41
P4. Never use WMF decoders when low latency is required. r=gerald

Comment 10

a year ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/964813be5833
https://hg.mozilla.org/mozilla-central/rev/b0c1d3189bb2
https://hg.mozilla.org/mozilla-central/rev/cdff3a6b5871
https://hg.mozilla.org/mozilla-central/rev/323f69eeab41
Status: NEW → RESOLVED
Last Resolved: a year ago
status-firefox54: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
Depends on: 1342645
You need to log in before you can comment on or make changes to this bug.