Closed
Bug 1382978
Opened 7 years ago
Closed 6 years ago
use HTTP OMT data delivery while loading media resource
Categories
(Core :: Audio/Video: Playback, enhancement, P3)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
People
(Reporter: schien, Unassigned)
References
Details
From telemetry [1] I found that HTTP off-main-thread data delivery is not enabled while loading <video>/<audio>/<track> resource[2][3][4]. 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 [5]. [1] https://mzl.la/2ugBd0T [2] https://searchfox.org/mozilla-central/rev/3a3af33f513071ea829debdfbc628caebcdf6996/dom/html/HTMLMediaElement.cpp#1175 [3] https://searchfox.org/mozilla-central/rev/3a3af33f513071ea829debdfbc628caebcdf6996/dom/media/MediaResource.cpp#861 [4] https://searchfox.org/mozilla-central/rev/3a3af33f513071ea829debdfbc628caebcdf6996/dom/html/HTMLTrackElement.cpp#330 [5] https://searchfox.org/mozilla-central/rev/3a3af33f513071ea829debdfbc628caebcdf6996/parser/html/nsHtml5StreamParser.cpp#973
Updated•7 years ago
|
Priority: -- → P3
Reporter | ||
Comment 1•7 years ago
|
||
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
Comment 2•6 years ago
|
||
All dependencies are resolved.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•