- From: Joseph Huang <huang_hao@visualon.com>
- Date: Wed, 26 Oct 2016 17:18:23 +0800
- To: www-validator@w3.org
- Message-ID: <CAHRv+CaWu1UTaGVmsXtCHm-5ZfGJD1eZ6pEKHaHG8Nr5N3Y45A@mail.gmail.com>
Bug link: https://w3c.github.io/encrypted-media/format-registry/initdata/cenc.html#clear-key EXAMPLE 1 var pssh = [ 0x00, 0x00, 0x00, 0x4c, 0x70, 0x73, 0x73, 0x68, // BMFF box header (76 bytes, 'pssh') 0x01, 0x00, 0x00, 0x00, // Full box header (version = 1, flags = 0) 0x10, 0x77, 0xef, 0xec, 0xc0, 0xb2, 0x4d, 0x02, // SystemID 0xac, 0xe3, 0x3c, 0x1e, 0x52, 0xe2, 0xfb, 0x4b, 0x00, 0x00, 0x00, 0x02, // KID_count (2) 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, // First KID ("0123456789012345") 0x38, 0x39, 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, // Second KID ("ABCDEFGHIJKLMNOP") 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f, 0x50, 0x00, 0x00, 0x00, 0x00, // Size of Data (0) ]; Total pssh bytes is 68 bytes while BMFF box header is 76 bytes. It's wrong, I think it should be 0x44. NOTE: Whenever possible, give the address of the document you were checking.
Received on Wednesday, 26 October 2016 15:58:50 UTC