Beta
Retrieves the FairPlay license server URL from InitData.
The initialization data (PSSH box)
The license server URL as a string
const initData = new Uint16Array([...new TextEncoder().encode('skd://common-media-library.com')]);strictEqual(getLicenseServerUrl(initData), 'https://common-media-library.com'); Copy
const initData = new Uint16Array([...new TextEncoder().encode('skd://common-media-library.com')]);strictEqual(getLicenseServerUrl(initData), 'https://common-media-library.com');
Retrieves the FairPlay license server URL from InitData.