W3C home > Mailing lists > Public > public-html-media@w3.org > June 2014

[Bug 25966] New: Use ArrayBufferView and ArrayBuffer instead of Uint8Array in APIs

From: <bugzilla@jessica.w3.org>
Date: Tue, 03 Jun 2014 21:27:28 +0000
To: public-html-media@w3.org
Message-ID: <bug-25966-5436@http.www.w3.org/Bugs/Public/>

            Bug ID: 25966
           Summary: Use ArrayBufferView and ArrayBuffer instead of
                    Uint8Array in APIs
           Product: HTML WG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Encrypted Media Extensions
          Assignee: adrianba@microsoft.com
          Reporter: ddorwin@google.com
        QA Contact: public-html-bugzilla@w3.org
                CC: acolwell@google.com, mike@w3.org,

The EME APIs currently use Uint8Array for all binary data. Uint8Array is just a
subclass of ArrayBufferView, and I don't think there is a reason to require
8-bit formatting.

For data provided to the application, we might need to use an ArrayBuffer.

MSE's appendBuffer() accepts either ArrayBuffer or ArrayBufferView [1]. I'm not
sure whether EME needs to support both.


You are receiving this mail because:
You are on the CC list for the bug.
Received on Tuesday, 3 June 2014 21:27:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:33:03 UTC