Open Bug 1428688 Opened 2 years ago Updated 2 years ago
use HTTP OMT data delivery while loading media tracks
+++ 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
MediaResource is done. This bug is to track the work in HTMLTrackElement.
You need to log in before you can comment on or make changes to this bug.