Closed Bug 1382978 Opened 3 years ago Closed 2 years ago
use HTTP OMT data delivery while loading media resource
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
2 years ago
2 years ago
Priority: -- → P3
From recent telemetry data it shows that both video and audio have switched to OMT successfully. Thanks @jwwang! https://mzl.la/2kQBQvz https://mzl.la/2kRVxD7
All dependencies are resolved.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.