Open Bug 1428688 Opened 6 years ago Updated 8 months ago
use HTTP OMT data delivery while loading media tracks
(Core :: Audio/Video: Playback, enhancement, P3)
(Reporter: jwwang, Unassigned)
+++ This bug was initially created as a clone of Bug #1382978 +++ From telemetry  I found that HTTP off-main-thread data delivery is not enabled while loading <video>/<audio>/<track> resource. Might be able to reduce jank if we can deliver the data to decoder/parser thread directly without touching main thread. HTML5 parser is a good example of enabling HTTP OMT .  https://mzl.la/2ugBd0T  https://searchfox.org/mozilla-central/rev/3a3af33f513071ea829debdfbc628caebcdf6996/dom/html/HTMLMediaElement.cpp#1175  https://searchfox.org/mozilla-central/rev/3a3af33f513071ea829debdfbc628caebcdf6996/dom/media/MediaResource.cpp#861  https://searchfox.org/mozilla-central/rev/3a3af33f513071ea829debdfbc628caebcdf6996/dom/html/HTMLTrackElement.cpp#330  https://searchfox.org/mozilla-central/rev/3a3af33f513071ea829debdfbc628caebcdf6996/parser/html/nsHtml5StreamParser.cpp#973
6 years ago
MediaResource is done. This bug is to track the work in HTMLTrackElement.
8 months ago
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.