Bug 122659
Summary: | Remove old cues from live sources | ||
---|---|---|---|
Product: | WebKit | Reporter: | Brendan Long <b.long> |
Component: | Media | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | eric.carlson |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
Brendan Long
With in-band text tracks, it's possible for a live source to continue adding cues for an indefinite period of time. It would be useful if cues could be removed when they're not useful anymore.
One option is to periodically check the cues and remove cues that are past their end time by a certain amount. Or maybe we could detect when we're looking at live content and remove cues in their onexit events (or set a timeout to remove them a couple seconds after)?
The hardest part for is figuring out how to test this. I'm sure I can figure out a generate a live stream on my machine, but I'm not sure how to do that in a layout test.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Eric Carlson
I think this would be more logical to remove cues that are outside of the 'buffered' range.