The buffered ranges get recalculated every time they are requested. Keeping a copy of the byte ranges and corresponding time ranges means we don't need to recalculate every time.
Created attachment 8481010 [details] [diff] [review] Cache MP4 buffered ranges
Attachment #8481010 - Flags: review?(cpearce)
Assignee: nobody → ajones
Status: NEW → ASSIGNED
Attachment #8481010 - Flags: review?(cpearce) → review+
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
You need to log in before you can comment on or make changes to this bug.