videojs / mpd-parser

https://videojs.github.io/mpd-parser/
Other
78 stars 54 forks source link

feat: parse mp4protection ContentProtection tags #179

Closed adrums86 closed 9 months ago

adrums86 commented 9 months ago

Description

In an effort to enhance our HDCP handling in DASH we need to parse ContentProtection tags with the scheme urn:mpeg:dash:mp4protection:2011. These tags when defined with the urn:mpeg:cenc:2013 namespace contain a cenc:default_KID attribute that we can use to determine from the MediaKeySession, which playlists we have a usable license for.

See: https://dashif-documents.azurewebsites.net/Guidelines-Security/master/Guidelines-Security.html#CPS-default_KID or Reference: ISO_IEC 23009-1_2022 section 5.8.5.2

Changes

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (56eee17) 94.68% compared to head (d771b45) 93.61%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #179 +/- ## ========================================== - Coverage 94.68% 93.61% -1.07% ========================================== Files 19 19 Lines 846 846 Branches 258 258 ========================================== - Hits 801 792 -9 - Misses 45 54 +9 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.