Closed Bug 1361679 Opened 2 years ago Closed 2 years ago

Use new MediaCodec API on Lollipop or later devices

Categories

(Firefox for Android :: Audio/Video, enhancement)

55 Branch
enhancement
Not set

Tracking

()

RESOLVED FIXED
Firefox 55
Tracking Status
firefox55 --- fixed

People

(Reporter: jhlin, Unassigned)

Details

Attachments

(1 file)

MediaCodec supports async mode since Lollipop. Use it rather than polling buffers to
1. reduce usage of CPU cycles and threads
2. eliminate possible blocking (up to 10ms) times
Comment on attachment 8864062 [details]
Bug 1361679 - use MediaCodec async API on supported devices.

https://reviewboard.mozilla.org/r/135782/#review138870

Most arguments can be "final".
Attachment #8864062 - Flags: review?(esawin) → review+
Pushed by jolin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7b21ef8deef2
use MediaCodec async API on supported devices. r=esawin
https://hg.mozilla.org/mozilla-central/rev/7b21ef8deef2
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
You need to log in before you can comment on or make changes to this bug.