- From: <bugzilla@jessica.w3.org>
- Date: Tue, 29 Jan 2013 18:26:15 +0000
- To: public-html-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18615 --- Comment #8 from Aaron Colwell <acolwell@chromium.org> --- Just for the record, here is the updated algorithm that I proposed to the list. http://lists.w3.org/Archives/Public/public-html-media/2013Jan/0021.html I believe it addresses the issue that Philip raised. 1. If activeSourceBuffers.length equals 0 then return an empty TimeRanges object and abort these steps. 2. Let active ranges be the ranges returned by buffered for each SourceBuffer object in activeSourceBuffers. 3. Let highest end time be the largest range end time in the active ranges. 4. Let intersection ranges equal a TimeRange from 0 to highest end time. 5. For each SourceBuffer object in activeSourceBuffers run the following steps: 1. Let source ranges equal the ranges returned by the buffered attribute on the current range. 2. If readyState is "ended", then set the end time on the last range in source ranges to highest end time. 3. Let new intersection ranges equal the the intersection between the intersection ranges and the source ranges. 4. Replace the ranges in intersection ranges with the new intersection ranges. 6. Return the intersection ranges. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Tuesday, 29 January 2013 18:26:20 UTC