Skip to content

The type Descriptor is too specific #8

@TobbeEdgeware

Description

@TobbeEdgeware

There are many elements in the MPD which have DescriptorType such as Role, Reporting, Scope etc.

A DescriptorType element have three members

@schemeIdUri mandatory
@value optional
@id optional

but is somewhat more complex according to the xsd (ISO/IEC 23009-1 Section 5.8.3).

<!-- Descriptor -->
<xs:complexType name="DescriptorType">
  <xs:sequence>
    <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
  </xs:sequence>
<xs:attribute name="schemeIdUri" type="xs:anyURI" use="required"/> <xs:attribute name="value" type="xs:string"/>
<xs:attribute name="id" type="xs:string"/>
<xs:anyAttribute namespace="##other" processContents="lax"/>
Licensed to: Einarsson, Torbjörn Mr
Downloaded: 2019-09-18
 114
Single user licence only, copying and networking prohibited
􏰅 ISO􏰆IE􏰇 2019 􏰈 All rights reserved
</xs:complexType>

However, the code currently defines Descriptor to be a DRM-specific descriptor with Cenc and ppsh entries.
It would be good to rename that to DrmDescriptor or something similar and have a generic Descriptor type that
can be used for other values in the DRM.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions