Closed Bug 1322739 Opened 7 years ago Closed 7 years ago

Add low-latency option to the PDM

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla54
Tracking Status
firefox54 --- fixed

People

(Reporter: jya, Assigned: jya)

References

Details

Attachments

(4 files)

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.
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 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 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+
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
Depends on: 1342645
You need to log in before you can comment on or make changes to this bug.