sangwonl / python-mpegdash

MPEG-DASH MPD(Media Presentation Description) Parser
MIT License
104 stars 53 forks source link

AdaptationSet should have the "profiles" attribute #36

Open thenewguy opened 4 years ago

thenewguy commented 4 years ago

RepresentationBase() maps "profile" to "@profiles" at

https://github.com/sangwonl/python-mpegdash/blob/ca757902bc329a061fb094d2c3dac9e1364a3699/mpegdash/nodes.py#L395

and

https://github.com/sangwonl/python-mpegdash/blob/ca757902bc329a061fb094d2c3dac9e1364a3699/mpegdash/nodes.py#L418

Adaptation Sets can have the profiles attribute to signal conformance per

10.2.3.4. Adaptation Set Constraints The @profiles parameter may be present to signal the constraints for the Adaptation Set

Probably a typo since there is @profile and also @profiles depending on the element