[Bug 21159] New: SourceBuffer appendArrayBuffer should take ArrayBufferView

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21159

            Bug ID: 21159
           Summary: SourceBuffer appendArrayBuffer should take
                    ArrayBufferView
    Classification: Unclassified
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Media Source Extensions
          Assignee: adrianba@microsoft.com
          Reporter: watsonm@netflix.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-media@w3.org

Presently the SourceBuffer appendArrayBuffer method takes an ArrayBuffer
argument, meaning that there is an additional copy whenever the data to be
appended is not already in a single ArrayBuffer object (for example if only
part of an ArrayBuffer received from XmlHttpRequest is to be appended).

Consider changing this to ArrayBufferView, so that view objects like
Uint8Arrays can be appended (as in the original webkitSourceAppend).

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Thursday, 28 February 2013 21:50:08 UTC