Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The type Descriptor is too specific #8

Open
TobbeEdgeware opened this issue Oct 27, 2020 · 0 comments
Open

The type Descriptor is too specific #8

TobbeEdgeware opened this issue Oct 27, 2020 · 0 comments

Comments

@TobbeEdgeware
Copy link

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.

maxkur added a commit that referenced this issue Sep 22, 2021
Support multiple periods #13 Add Support multiple Periods
The type Descriptor is too specific #8 Rename Descriptor -> DRMDescriptor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant