Open
Bug 1428688
Opened 8 years ago
Updated 3 years ago
use HTTP OMT data delivery while loading media tracks
Categories
(Core :: Audio/Video: Playback, enhancement, P3)
Core
Audio/Video: Playback
Tracking
()
NEW
People
(Reporter: jwwang, Unassigned)
Details
+++ This bug was initially created as a clone of Bug #1382978 +++
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
| Reporter | ||
Comment 1•8 years ago
|
||
MediaResource is done. This bug is to track the work in HTMLTrackElement.
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•