Beta
Extracts a license server URL from an array of ContentProtection elements.
Array of ContentProtection nodes from the manifest.
schemeIdUri we are searching for.
The license server URL, and if not found then null.
it('should return license server URL for dashif prefix', () => { const result = getLicenseServerUrlFromContentProtection(contentProtection, schemeIdUri); strictEqual(result, 'license-server-url');}); Copy
it('should return license server URL for dashif prefix', () => { const result = getLicenseServerUrlFromContentProtection(contentProtection, schemeIdUri); strictEqual(result, 'license-server-url');});
Extracts a license server URL from an array of ContentProtection elements.