- From: <bugzilla@jessica.w3.org>
- Date: Tue, 07 May 2013 18:37:17 +0000
- To: public-html-media@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21954 Bug ID: 21954 Summary: SourceBuffer AppendStream should have restrictions on MaxSize attribute Classification: Unclassified Product: HTML WG Version: unspecified Hardware: PC OS: Windows NT Status: NEW Severity: normal Priority: P2 Component: Media Source Extensions Assignee: adrianba@microsoft.com Reporter: jdsmith@microsoft.com QA Contact: public-html-bugzilla@w3.org CC: mike@w3.org, public-html-media@w3.org Problem Description: SourceBuffer AppendStream has a MaxSize attribute that has type unsigned long long with no restriction. Some behaviors for AppendStream would be unsuitable. For instance, if MaxSize was set to infinity, unsigned long long would return a value of 0. Proposed Change: Modify the WebIDL for SourceBuffer to add EnforceRange to MaxSize: interface SourceBuffer : EventTarget { readonly attribute boolean updating; readonly attribute TimeRanges buffered; attribute double timestampOffset; readonly attribute AudioTrackList audioTracks; readonly attribute VideoTrackList videoTracks; readonly attribute TextTrackList textTracks; attribute double appendWindowStart; attribute unrestricted double appendWindowEnd; void appendBuffer (ArrayBuffer data); void appendBuffer (ArrayBufferView data); void appendStream (Stream stream, optional [EnforceRange] unsigned long long maxSize); void abort (optional AbortMode mode); void remove (double start, double end); -- You are receiving this mail because: You are on the CC list for the bug.
Received on Tuesday, 7 May 2013 18:37:18 UTC