rbouqueau / gpac

GPAC mirror from the SourceForge Subversion
GNU Lesser General Public License v2.1
0 stars 1 forks source link

[Bug] cenc:default_KID not written using canonical UUID form [sf#299] #299

Closed rbouqueau closed 10 years ago

rbouqueau commented 10 years ago

Reported by greg80303 on 2014-01-30 19:56 UTC According to the Common Encryption spec (ISO 23001-7 Section 11.1, the "cenc:default_KID" attribute value in the ContentProtection element of the MPD must be written in canonical UUID format (i.e. 00000000-0000-0000-0000-000000000000).

Additionally, the default_KID attribute is in the "cenc" namespace, but the MPD header does not define that namespace (i.e. xmlns:cenc="urn:mpeg:cenc:2013").

Attached is a patch for the canonical UUID bug. The second problem is more difficult since the MPD header is written long before the segmenter determines whether or not tracks use common encryption.

rbouqueau commented 10 years ago

Commented by jeanlf on 2014-01-31 16:40 UTC this should now all be fixed on SVN, thanks for reporting it

rbouqueau commented 10 years ago

Updated by jeanlf on 2014-01-31 16:48 UTC