Add support for qualityRanking attribute in DASH manifests#187
Conversation
|
Hi @gesinger @brandonocasey @gkatsev @forbesjo , hope you’re doing well 😄! This is my first contribution to the repo, would you mind taking a look when you have some time? |
gkatsev
left a comment
There was a problem hiding this comment.
can internal usage of it be camelCased: qualityRanking
Good suggestion, updated! 326627b |
|
Thanks @Janet101 — and sorry for the delay. The red I ran the full suite locally on this branch to confirm:
All green. Merging — CI will run with secrets on |
Description
This PR adds support for parsing the
qualityRankingattribute from DASH MPD manifests and mapping it to the HLSSCOREattribute for video.js compatibility.The
qualityRankingattribute specifies the quality ranking of a representation relative to others in the same adaptation set. Higher values represent lower quality content. This is mapped to HLS'sSCOREattribute, which serves the same purpose and allows video players to make more informed decisions about quality selection beyond just bandwidth considerations.Example
Output (HLS playlist attributes):
Test Results
All tests pass successfully:
parseAttributes.js