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

Update dashif:laurl to dashif:Laurl per latest specification #953

Open
gmcgarry opened this issue Apr 17, 2024 · 0 comments
Open

Update dashif:laurl to dashif:Laurl per latest specification #953

gmcgarry opened this issue Apr 17, 2024 · 0 comments

Comments

@gmcgarry
Copy link

gmcgarry commented Apr 17, 2024

See discussion here: Dash-Industry-Forum/dash.js#4459

mp4-dash.py creates a dashif:laurl element with the URL to the clearkey license server. The name of this element has been updated in the spec to dashif:Laurl. There are a few other changes for the clear-key case.

Here is at patch:

diff --git a/Source/Python/utils/mp4-dash.py b/Source/Python/utils/mp4-dash.py
index 70ac4a6..5d42860 100755
--- a/Source/Python/utils/mp4-dash.py
+++ b/Source/Python/utils/mp4-dash.py
@@ -312,7 +312,7 @@ def AddContentProtection(options, container, tracks, all_tracks):
             ck_license.text = options.clearkey_license_uri
 
             # Second entry with the dashif namespace
-            ck_license = xml.SubElement(cp, '{'+DASHIF_NAMESPACE+'}laurl')
+            ck_license = xml.SubElement(cp, '{'+DASHIF_NAMESPACE+'}Laurl')
             ck_license.text = options.clearkey_license_uri
 
     # Marlin
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