Open Bug 2044501 Opened 1 month ago Updated 20 days ago

Make MediaCapabilities playback decodingInfo use PDMFactory::Supports to make responses cached for remote decoders, and gate on pref

Categories

(Core :: Audio/Video, task)

task

Tracking

()

ASSIGNED

People

(Reporter: pehrsons, Assigned: pehrsons)

References

(Blocks 3 open bugs)

Details

Attachments

(3 files)

This would make decodingInfo requests resolve much much quicker. But some testing may be warranted to ensure results are on par with creating a MediaDecoder and querying explicitly.

Use a pref to gate this so we can test the new mode without shipping it.

Add RemoteMediaManagerChild::EnsureCodecSupportFor-backed async support queries
(PDMFactory::SupportsAsync / PDMFactorySupport::IsSupportedAsync) and use them
for the non-WebRTC MediaCapabilities decode paths, gated by the new
media.mediacapabilities.codec-support-cache.enabled pref (default false). When
the pref is disabled the original behaviour is used: creating a decoder and
querying it for video, and a synchronous PDMFactorySupport query for audio.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: